7

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)?

enter image description here

Atanas Bobev
  • 79
  • 1
  • 1
  • 2

3 Answers3

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
0

I think you can do it with this:

sudo nano /etc/default/grub 

Edit:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet”

Change to

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1920×1080"

Finally:

sudo update-grub

Then

sudo reboot
Hassan
  • 1
  • 2