How can I increase the Hyper-V display resolution?
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping
--
Chapters
00:00 How Can I Increase The Hyper-V Display Resolution?
00:23 Answer 1 Score 36
01:36 Answer 2 Score 5
02:00 Answer 3 Score 3
02:40 Answer 4 Score 2
03:20 Answer 5 Score 1
03:52 Thank you
--
Full question
https://superuser.com/questions/518484/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#ubuntu #windows8 #virtualmachine #resolution #hyperv
#avk47
ANSWER 1
Score 36
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:
ANSWER 2
Score 5
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.
ANSWER 3
Score 3
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
ANSWER 4
Score 2
The following command will change the display resolution:
sudo gedit /etc/default/grub
Change the following line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
finally run this command:
sudo /etc/kernel/postinst.d/zz-update-grub
The above command is used, because sudo update-grup
is not available anymore.
Power off the virtual machine and start it again.
The highest resolution is 1920 x 1080.
See as well
ANSWER 5
Score 1
If your installation is using the Hyper-V DRM driver instead of hyperv_fb, the correct config should be video=Virtual-1:...
instead of video=hyperv_fb:...
.
In doubt, you could leave both in your grub CMDLINE config:
GRUB_CMDLINE_LINUX_DEFAULT="video=Virtual-1:1920x1080 video=hyperv_fb:1920x1080"