Created
February 15, 2019 15:36
[How to] Change Screen Resolution on Ubuntu 18.04 in Hyper-V VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://metinsaylan.com/8991/how-to-change-screen-resolution-on-ubuntu-18-04-in-hyper-v/ | |
Just follow those simple steps to change the screen resolution: | |
1. Open a terminal window | |
2. Type: sudo vi /etc/default/grub | |
3. Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT, | |
4. Append video=hyperv_fb:1280x720 so the line should be like; | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080" | |
5. Write changes to the file and exit using ESC + :wq | |
6. Run sudo update-grub command to update grub configuration. | |
7. Reboot the machine (You can use sudo /sbin/shutdown -r now command) | |
Voila! Your VM now should start with the new resolution you provided. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment