I have successfully installed Kali Linux on Hyper-V. The problem is that the OS doesn't take the whole screen. It takes only part of it. How to make Kali Linux run on full screen (physical)?
Asked
Active
Viewed 1.3k times
7
-
3Install Linux Integration Services – Rui F Ribeiro Dec 31 '18 at 14:06
3 Answers
6
In /etc/default/grub change GRUB_CMDLINE_LINUX_DEFAULT=”quiet” to GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:your_resolution″ for me it was GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1920×1080″. Save file then run sudo update-grub and restart.
Nikolaj Sarry
- 161
- 1
- 3
6
If this doesn't work on Hyper-v (You will see this message briefly on during boot process "hyperv_fb screen option is invalid"
Run the following command in Powershell as administrator on Windows host:
*set-vmvideo -vmname <NameOfVM> -horizontalresolution:2560 -verticalresolution:1440 -resolutiontype single*
Nordine Lotfi
- 2,200
- 12
- 45
HS N
- 61
- 1
- 1
-
Thanks for that! For 4K: Set-VMVideo -VMName myVM -HorizontalResolution:3840 -VerticalResolution:2160 -ResolutionType Single - For some reason, I cannot scale to 2x... – 1nternetz Apr 23 '21 at 09:11
-
This is THE answer! Changing `/etc/default/grub` doesn't help on Kali-2021.3, but `set-vmvideo -vmname NameOfVM -horizontalresolution:1920 -verticalresolution:1200 -resolutiontype single` does – Amel Oct 15 '21 at 17:51
