Last active
September 8, 2016 23:39
-
-
Save elephantatech/d7de254d0ea6d32c6eee10fb81a3ea23 to your computer and use it in GitHub Desktop.
how to change resolution on Ubuntu v14+ Guest in Hyper-v
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
Open Terminal | |
Type: sudo vi /etc/default/grub | |
Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT, and add video=hyperv_fb:[the resolution you want]. | |
The resolution I want is 1280x720. So my line ends up looking like this: | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1280x720" | |
Write the changes and quit vi. | |
Run: sudo update-grub | |
Reboot the virtual machine | |
Reference: | |
https://blogs.msdn.microsoft.com/virtual_pc_guy/2014/09/19/changing-ubuntu-screen-resolution-in-a-hyper-v-vm/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment