Make Ubuntu Fullscreen on Windows Hyper-V

I previously explained how to install Ubuntu 20.04 in a VM on Windows using Hyper-V. However, by default the VM display will not run in full resolution.

99999959-ubuntu-hyperv-low-res

How to run Ubuntu 20.04 in full resolution & fullscreen mode

First, open the terminal and run the following command to open grub settings using nano editor.

sudo nano /etc/default/grub

Then, change the GRUB_CMDLINE_LINUX_DEFAULT variable to the following:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"

99999959-ubuntu-grub-update

Press Ctrl+X to exit nano editor and then Y followed by Enter to save the changes.

Next, run the following command to update grub settings.

sudo update-grub

Finally, restart Ubuntu by running the following command.

sudo reboot

Now, you have Ubuntu running in full screen mode with full resolution.

99999959-ubuntu-hyperv-fullscreen

Need Help? Open a discussion thread on GitHub.

Related Posts