How can I increase the Hyper-V display resolution?
I just started experimenting with the Hyper-V of Windows 8 and installed Ubuntu on it. However when I launch it my screen resolution is small.
How can I scale Ubuntu to the resolution of my screen?
Here is how you can change the resolution of Ubuntu (Linux) running in Hyper-V:
- Install linux-image-extras (hyperv-drivers):
sudo apt-get install linux-image-extra-virtual
- Open the Terminal and type:
sudo gedit /etc/default/grub
- Find the line starting with
GRUB_CMDLINE_LINUX_DEFAULT
, and addvideo=hyperv_fb:1920x1080
(or your preferred resolution) in between the quotes (The maximum possible resolution is 1920x1080) like this:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
- Save and Exit
- Run
sudo update-grub
- Restart Hyper-V (restarting Ubuntu (Linux) might be enough)
Increased display size of Hyper-V to 1680x1050. My Windows 8 display resolution is 1920x1200:
In the latest release of Ubuntu, the Hyper-V Integration Services are built into the kernel and won't help. Unfortunately even with windows, hyper-v won't display a larger resolution when accessing it through the virtual machine manager.
Try accessing it through VNC, you will be able to get a better resolution that way.
I know this thread is old, but if it answers the question for others.
sudo nano /etc/default/grub
find:
GRUB_CMDLINE_LINUX_DEFAULT="There is probably stuff here"
At the end add splash video=hyperv_fb:1920x1080
It should appear like
GRUB_CMDLINE_LINUX_DEFAULT="quiet elevator=noop splash video=hyperv_fb:1920x1080"
then run
sudo update-grub
Enable BackPorts, for Jessie.
sudo nano /etc/apt/scources.list
add
deb http://ftp.debian.org/debian jessie-backports main
sudo apt-get update
sudo apt-get -t jessie-backports install hyperv-daemons
Reboot. Hopefully you will have joy!
Scobber