- Run
sudo vim /etc/default/grub
- Find
GRUB_CMDLINE_LINUX_DEFAULT
- Append
video=hyperv_fb:[the resolution you want]
, for example:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
- Write the changes, quit Vim
- Run
sudo update-grub
- Run
sudo reboot
Created
July 13, 2016 18:05
-
-
Save robert-claypool/af8670b8082e1df020f21fdf57244cbf to your computer and use it in GitHub Desktop.
How To Make Debian Linux Fullscreen in Hyper-V
This no longer seems to work on Windows 10 using Client Hyper-V and Debian 12 guest.
For Debian 12, I had to change video=hyperv_fb:...
to video=Virtual-1:...
Thanks, I will give that a go and report back.
For Debian 12, I had to change
video=hyperv_fb:...
tovideo=Virtual-1:...
and then select the desired resolution in the display settings.
Worked like a charm, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good job!!! But not all Debian distributions can do it without these lines and commands.
Add these lines to this file:
sudo nano /etc/initramfs-tools/modules
hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc
In terminal enter:
sudo apt-get install hyperv-daemons
sudo update-initramfs -u
Make a reboot:
reboot