Chapter 3

Hyper-V

Microsoft’s hypervisor, available with Windows 10 (Pro, Enterprise, and Education) and with all editions Windows Server 2016 or older.

A large advantage of this hypervisor is how it comes available with Windows, requiring no additional software or licensing. However competing virtualization platforms are typically chosen over Hyper-V for commercial applications, though Hyper-V does have numerous commercial deployments. Most certain a version of Hyper-V is used to power the Azure cloud.

Subsections of Hyper-V

Sizing the Console in Hyper-V

When deploying a virtual guest in Hyper-V that offers no GUI (text console only) you may find that the default size of the terminal window is quite small. You can address this through the boot options of your terminal (speaking to Linux OS here). In my case I’m using Ubuntu as example:

sudo vi /etc/default/grub

Find the line GRUB_CMDLINE_LINUX_DEFAULT="" where "" might be "quiet splash" instead. Add the following at the end of the line, inside the double quotes section:

video=hyperv_fb:800x600

Or use which ever resolution you need. Save and quit the text editor then update grub with:

sudo update-grub

After doing all this you’ll need to restart the VM to see the changes.