How to enable Hyper-V Linux Integration Service in Ubuntu 22.04 and 24.04?

jaril nambiar 51 Reputation points
2025-01-24T15:04:27.3666667+00:00

Hello Experts,

I need to enable integration services in the Ubuntu 22.04 and 24.04 VM.

I found this document (https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/manage-hyper-v-integration-services) to enable Hyper-V Integration Services in the Linux VMs. Got the below results.

jaril@jar-u22-hv2:~$ lsmod | grep hv_utils
hv_utils               45056  0
hv_vmbus              135168  8 hv_balloon,hv_utils,hv_netvsc,hid_hyperv,hv_storvsc,hyperv_keyboard,hyperv_drm,hyperv_fb
jaril@jar-u22-hv2:~$ ps -ef | grep hv
root         183       2  0 14:33 ?        00:00:00 [hv_vmbus_con]
root         185       2  0 14:33 ?        00:00:00 [hv_pri_chan]
root         187       2  0 14:33 ?        00:00:00 [hv_sub_chan]
root         471       2  0 14:34 ?        00:00:00 [hv_balloon]
jaril       3078    3060  0 14:49 pts/2    00:00:00 grep --color=auto hv
jaril@jar-u22-hv2:~$ compgen -c hv_
jaril@jar-u22-hv2:~$

Further MS documentation (https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-ubuntu-virtual-machines-on-hyper-v) didn't help me to enable the LIS.

I cannot follow the below steps, because I don't want to change the kernel to Azure Kernel

apt-get update
apt-get install linux-azure

Later research on the internet gave the below steps and the LIS was successfully installed on the Ubuntu 22.04 VM.

sudo apt-get update  --fix-missing
sudo apt -y install linux-virtual linux-cloud-tools-virtual linux-tools-virtual
sudo reboot

Can someone confirm the above steps with valid Microsoft documentation? Or do I need any additional steps? So, I can update the CRM documentation and implement it in my production as well.

Regards,

Jaril

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,629 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,805 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue 39,281 Reputation points Microsoft Vendor
    2025-01-28T06:05:36.5366667+00:00

    Hi jaril Nambiar,

    Thanks for your post. Generally speaking, Hyper-V is a native type 1 hypervisor developed by Microsoft for the Windows family of operating systems, similar to Xen or VMWare ESXi. It was first released for Windows Server in 2008, and has been available without additional charge since Windows Server 2012 and Windows 8.

    Hyper-V allows Ubuntu to be run in parallel or in isolation on Windows operating systems. There are several use-cases for running Ubuntu on Hyper-V:

    • To introduce Ubuntu in a Windows-centric IT environment.
    • To have access to a complete Ubuntu desktop environment without dual-booting a PC.
    • To use Linux software on Ubuntu that is not yet supported on the Windows Subsystem for Linux.

    You can refer the following guide for install guide. How to set up Ubuntu on Hyper-V | Ubuntu

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.