User Tools

Site Tools


virtualization:microsoft:hyper-v-linux

This is an old revision of the document!


Using Linux as a Hyper-V Guest

Linux Integration Services: http://www.microsoft.com/en-us/download/details.aspx?id=34603

http://blog.zwiegnet.com/linux-server/install-hyper-v-integration-services-on-centos-6/

Howto: http://blog.shawnhyde.com/post/2012/10/20/Step-by-Step-install-of-CentOS-63-on-Microsoft-Hyper-V-Server-with-Linux-Integration-Services-Version-34.aspx

  • 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.

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 put it into the variable $MAC:

MAC=`ifconfig -a eth0 | grep "HWaddr" | cut -d " " -f 11`
virtualization/microsoft/hyper-v-linux.1358878954.txt.gz · Last modified: 2013/01/22 11:22 by gcooper