April 26, 2024
122523 2055 HowtoInstal1 - How to Install Hyper-V integration services in the ubuntu Linux VM
Today, I will show you how to install Hyper-V integration services in the Ubuntu Linux VM of Hyper-V. If the Hyper-V integration services are not installed, you cannot restore any data from Veeam Backup.

Today, I will show you how to install Hyper-V integration services in the Ubuntu Linux VM of Hyper-V. If the Hyper-V integration services are not installed, you cannot restore any data from Veeam Backup.

122523 2055 HowtoInstal1 - How to Install Hyper-V integration services in the ubuntu Linux VM

1.Login to Hyper-V host.

2.Open PowerShell as Administrator.

3.Run the command as follows.

Get-VMIntegrationService -VMName “ubuntu2310”

122523 2055 HowtoInstal2 - How to Install Hyper-V integration services in the ubuntu Linux VM

4.Open the Hyper-V Manager tool.

5.Right-click the VM and select the Settings.

122523 2055 HowtoInstal3 - How to Install Hyper-V integration services in the ubuntu Linux VM

6.Select Integration Services on the Settings of the VM page.

122523 2055 HowtoInstal4 - How to Install Hyper-V integration services in the ubuntu Linux VM

7. Select the Guest services checkbox on the Integration Services page and click OK.

122523 2055 HowtoInstal5 - How to Install Hyper-V integration services in the ubuntu Linux VM

8.Run the command as follows to ensure the Integration Services of the VM are enabled

Get-VMIntegrationService -VMName “ubuntu2310”

122523 2055 HowtoInstal6 - How to Install Hyper-V integration services in the ubuntu Linux VM

9.Login to the Linux Server.

10.Run the command as follows to edit modules.

vim /etc/initramfs-tools/modules

122523 2055 HowtoInstal7 - How to Install Hyper-V integration services in the ubuntu Linux VM

11.Add hv_modules to initramfs-tools modules.

hv_vmbus

hv_storvsc

hv_blkvsc

hv_netvsc

122523 2055 HowtoInstal8 - How to Install Hyper-V integration services in the ubuntu Linux VM

12.You will see the Can’t open file for writing error message.

122523 2055 HowtoInstal9 - How to Install Hyper-V integration services in the ubuntu Linux VM

13.Don’t press Enter. Type the following command and sudo password, and press Enter.

122523 2055 HowtoInstal10 - How to Install Hyper-V integration services in the ubuntu Linux VM

14. Enter O for OK to change modules and buffer.

122523 2055 HowtoInstal11 - How to Install Hyper-V integration services in the ubuntu Linux VM

15.Type :q! to quit the VIM editor.

122523 2055 HowtoInstal12 - How to Install Hyper-V integration services in the ubuntu Linux VM

16.Run the following command to update the apt packages.

sudo apt update

122523 2055 HowtoInstal13 - How to Install Hyper-V integration services in the ubuntu Linux VM

17.Run the following command to upgrade the apt packages.

sudo apt -y upgrade.

122523 2055 HowtoInstal14 - How to Install Hyper-V integration services in the ubuntu Linux VM

18.Run the following command to install the Hyper-V integration packages for Ubuntu.

sudo apt -y install linux-virtual linux-cloud-tools-virtual linux-tools-virtual

122523 2055 HowtoInstal15 - How to Install Hyper-V integration services in the ubuntu Linux VM

19.Run the following command to update initramfs.

sudo update-initramfs -u

122523 2055 HowtoInstal16 - How to Install Hyper-V integration services in the ubuntu Linux VM

20.Run the following command to reboot.

sudo reboot

21.Run the following command to ensure the LIS integration features are installed.

lsmod | grep hv

122523 2055 HowtoInstal17 - How to Install Hyper-V integration services in the ubuntu Linux VM

22.Run the Restore process from the Veeam Backup and Manager Server again, and the error disappears.

122523 2055 HowtoInstal18 - How to Install Hyper-V integration services in the ubuntu Linux VM

I hope you enjoy this post.

Cary Sun

X: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

Amazon Author: Amazon.com/author/carysun

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to Install Hyper-V integration services in the ubuntu Linux VM

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun