In the previous tutorial titled How to create a Linux Guest Virtual Machine on Windows Hyper-V we installed either Zorin OS Core, Zorin OS Lite (Ubuntu 18.04) or Ubuntu 18.04 Desktop. In this tutorial we will install the Microsoft Integration Services (LIS). This is the equivalent of using VMWare Tools if you were using VMWare as your virtualisation solution.
Edit the modules
So, the first thing that needs to be done is to edit the modules file located in /etc/initramfs-tools. We will do this by using nano. To open the modules file copy the following into terminal.
sudo nano /etc/initramfs-tools/modules
You will see the following displayed.
Use the arrow keys to move the cursor down to the last line in the file and then add the following lines.
hv_vmbus hv_storvsc hv_blkvsc hv_netvsc
As illustrated below.
Now save the updated modules file with ctrl + X and the Y for yes and Return. Now run the following command to install the virtual tools.
sudo apt-get install linux-virtual linux-cloud-tools-virtual linux-tools-virtual
To re-initialise the modules run the following.
sudo update-initramfs -u
Finally, reboot the virtual machine with.
Once the guest virtual machine has rebooted, the LIS drivers and service should be registered in the system. To verify that they have indeed been registered run the following in terminal.
Now look for the following:
If all these modules are present, then activation of the Linux Integration Services has been successful.