If you are using Hyper-V and running a Debian 8 guest, you may not be aware that Microsoft provides Linux Integration Services (LIS), which are basically Microsoft’s version of VMware Tools. In this article we will detail how to enable LIS on our Debian 8.2 virtual machine. The first step is to edit the “modules” file located in /etc/initramfs-tools
using the below command:
nano /etc/initramfs-tools/modules
Once in nano, navigate to the last line in the file and enter the following lines:
hv_vmbus hv_storvsc hv_blkvsc hv_netvsc
Save the file by hitting the ctrl + x and then issuing “y” for yes and then enter. Next, run the following commands to re-initialize the “modules” file, install the virtual tools and reboot the machine:
apt-get install -t jessie-backports hyperv-daemons update-initramfs -u reboot
Finally, once the guest virtual machine is rebooted, the LIS drivers and services will be registered in the system. In order to verify the installation, simply run lsmod
in the terminal and look for hid_hyperv, hv_netvsc, hv_utils, hv_storvc and hv_vmbus. If they are present, activation of LIS has been successful.
Can’t install using the apt-get command when trying it on my VM. No packages found
Please ensure you have enabled the backports repository in your apt sources.list
Should I see Hyper-V (2012R2) stating that the VM is using integration services? I did install it on my Debian 8 virtual but it seems like Hyper-V it is not using intergration services at all.
Erik, if hyper-v is showing you an IP address and status under your networking tab, then hyper-v LIS are being used.
Thanks! After a next attempt I will check that!