Linux tips and tricks
Recently I needed to prepare one development workstation running Ubuntu. In my environment I'm running Hyper-V on Windows 2012 R2 Server; so I wanted to create "Generation 2" VM and install Ubuntu 15.10.
For more info on what features are supported check
The only problem I encounter was the resolution. Since, I was building dev day-to-day work machine it was to small for me. To change the resolution follow this steps:
Open Terminal and type
sudo nano /etc/default/grub
Find the line starting with
GRUB_CMDLINE_LINUX_DEFAULT, and add
video=hyperv_fb:[1920×1080] so the whole line sholud look like this
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920×1080"
Note that the maximum resolution is 1920×1080.
Next save the file and run
and then reboot the machine.
That is all; next time the VM boots you will have your desired resolution set.