User Tools

Site Tools


virtualization:microsoft:hyper-v-linux

Using Linux as a Hyper-V Guest

Install and Update the Linux VM

:!: Be sure to choose “Legacy Network Adapter” when creating the Linux VM as there is no support for the standard “Network Adapter” until the 'tools' are installed.

yum update -y

reboot

:!: Don't forget to update. Tools installation may fail otherwise!

Install Integration Services (Tools)

Copy an ISO image file to the Linux guest VM

Once networking is working on the Linux guest VM, you can install wget and then grab the tools:

yum install wget

wget http://mirrors.zwiegnet.com/LinuxIC/3.4%202012/LinuxICv34.iso

Alternately, you can just copy the ISO image to the Hyper-V server.

On the source PC:

scp Desktop/LinuxICv34.iso root@192.168.1.3:~

Install Linux Integration Services

First we mount the ISO image in the Linux guest VM:

mount -o loop LinuxICv34.iso /mnt

Then we install the tools:

cd /mnt/RHEL63

./install

Activate Advanced Network Adapter

Determine the MAC address and copy it:

ifconfig -a eth0 | grep "HWaddr" | cut -d " " -f 11

Shut down the VM:

shutdown now -h

:!: Now using Hyper-V Manager, delete the old Legacy Network Adapter and add the new (synthetic) Network Adapter specifying the same MAC address.

virtualization/microsoft/hyper-v-linux.txt · Last modified: 2019/05/20 11:31 by gcooper