Skip to content

Instantly share code, notes, and snippets.

@robert-claypool
Created July 13, 2016 18:05
Show Gist options
  • Save robert-claypool/af8670b8082e1df020f21fdf57244cbf to your computer and use it in GitHub Desktop.
Save robert-claypool/af8670b8082e1df020f21fdf57244cbf to your computer and use it in GitHub Desktop.
How To Make Debian Linux Fullscreen in Hyper-V
@SVG62
Copy link

SVG62 commented Jun 19, 2022

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

@janagyjr
Copy link

This no longer seems to work on Windows 10 using Client Hyper-V and Debian 12 guest.

@frdrc66
Copy link

frdrc66 commented May 21, 2024

For Debian 12, I had to change video=hyperv_fb:... to video=Virtual-1:...

@janagyjr
Copy link

Thanks, I will give that a go and report back.

@frdrc66
Copy link

frdrc66 commented May 22, 2024

For Debian 12, I had to change video=hyperv_fb:... to video=Virtual-1:...

and then select the desired resolution in the display settings.

@janagyjr
Copy link

Worked like a charm, thanks!

@thywidi
Copy link

thywidi commented May 4, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment