- 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I my case all this didn't helped with Debian 12 but I found a solution on here:
https://forums.linuxmint.com/viewtopic.php?t=400584
Note: The VM must be turned off to change this setting!
You need the adjust the resolution of the VM in the HyperV VM-Settings with the following command:
set-vmvideo -vmname -horizontalresolution:xxxx -verticalresolution:xxxx -resolutiontype single
After that you can start the VM and first it will be still in 1980x1080 but after that you will find the resolution in your Debian Display Settings and can adjust it there.
Thanks anyway for all the other steps of the solution!