Hyper-V Linux Integration Service on Ubuntu 16.04 LTS


If you are running a hyper-v server with an Ubuntu 16.04 guest, it is beneficial to install the Linux Integration Services (LIS). This is comparable to VMware tools which provides a connection between the host and the VM for proper reboots etc.

To enable this on your guest operating system we need to edit the module files located in:

nano /etc/initramfs-tools/modules

Once you are in nano add the following to the end of the file:


Save the file.

Next we are going to install the linux virtual tools and reinitialize the modules file.

apt-get install --install-recommends linux-tools-virtual-lts-xenial linux-cloud-tools-virtual-lts-xenial
update-initramfs -u 

Once the machine has rebooted the LIS drivers will be enabled on the system.



All that has to be done now is this one apt-get command:


apt-get install linux-tools-virtual-lts-xenial linux-cloud-tools-virtual-lts-xenial

About the author


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

  • Surprised at how much on the web indicates this is useful, but how little gives details of how to do it… Looking to handle this on 18.04 server, but finding no references. If you are able to update this for 18.04, it would be very helpful.

    • Jeff, would also love something like that. Microsoft preached good Hyper-V support for Ubuntu 18.04 and did not deliver!

  • If you `apt install linux-tools-virtual linux-cloud-tools-virtual` instead of the above recommendation, the package manager should automatically pick the correct version for you.

By Nick

Recent Posts