If you are using Hyper-V and running a Ubuntu 18.04 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 Ubuntu 18.04 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 linux-virtual linux-cloud-tools-virtual linux-tools-virtual 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.
worked fine, still very slow, I checked with lsmod everything is installed
Installation is successful on my system, alle integration services are offered (and activated).
However, still having problems with the display size, it comes with a fixed size, probably doing something wrong
Same problem..
Nice writeup, however “apt-get Install” won’t work the parameter is “install” 🙂
Corrected, thanks for the heads up! Appreciate it.
For the uninitiated this was the definition of obtuse. Further googling will obviously be required.
Cheers Mate. Fixed a server of mine to be much more responsive