Install integration services on Kali Linux (Hyper-V)

In this article, you learn how to install integration services on Kali Linux with Hyper-V and how to change the screen resolution. It is a fairly straight-forward process, I’ll guide you through each step. I run into this issue myself and had to do a fair bit of research to get it resolved.

 

Install Integration Services on Kali Linux

In Kali, open a Terminal and type

sudo nano /etc/initramfs-tools/modules

Enter the following lines on the bottom of the file

hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc

So your file looks like this:

Install Integration Services on Kali Linux
Editing the config

Hit ctrl+x and confirm with Y to safe.

 

Updating initframs

Again, back in the Terminal type:

sudo update-initramfs -u

 

Rebooting

After that’s done, reboot your system, integration services should now be successfully installed.

sudo reboot now

Changing the Screen Resolution

Now I didn’t find an easy way to adjust the screen resolution like in VirtualBox or Vmware. We have to edit the grub config file for this.

sudo nano /etc/default/grub

Now find the line GRUB_CMDLINE_LINUX_DEFAULT and add video=hyperv_fb:1920×1080(or whatever resolution you want) to it. The line should look like this after.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"

Done with that, enter:

sudo update-grub

And reboot your machine. You should now have the desired resolution.

 

Conclusion

In the end, I ditched Hyper-V for VirtualBox. It’s just too much hassle to deal with all the issues. I also found that Kali is running way more stable on VirtualBox. Also, even VMWare does a much better job. It took me ages to even get Hyper-V to run, it’s just not as intuitive as the other options. So if you have to use Hyper-V out of whatever reason, give it a try, but I wouldn’t recommend it. If you want to learn how to install Kali on VirtualBox, check out my tutorial on it.

I hope that helps.

8 thoughts on “Install integration services on Kali Linux (Hyper-V)”

  1. Hey thank you ceos3c for this post. It was useful.

    I am about to switch from VmWare to Hyper-V and I found your conclusion “I ditched Hyper-V for VirtualBox. It’s just too much hassle to deal with all the issues” a bit concerning to me…can you please elaborate on the issues you faced with Kali via Hyper-V?

    Reply
    • Hey Seb,

      thanks for leaving a comment! Well, there were simply too many hiccups. A lot of things didn’t work and required me to fiddle around and wasting my time, where the same things worked in VirtualBox just out of the box (no pun intended lol).

      So if you don’t run hyper-v as a bare-metal hypervisor, but you just want to run VM’s from your Windows Machine, I highly recommend VirtualBox over Hyper-V. You will have more fun.

      Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link
Powered by Social Snap