User Tools

Site Tools


virtualization:microsoft:hyper-v-linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
virtualization:microsoft:hyper-v-linux [2013/01/22 09:13]
gcooper created
virtualization:microsoft:hyper-v-linux [2019/05/20 11:31] (current)
gcooper
Line 1: Line 1:
 ====== Using Linux as a Hyper-V Guest ====== ====== Using Linux as a Hyper-V Guest ======
 +
 +See also **[[https://virtualarchitects.com/wiki/doku.php?do=search&id=start&q=hyper-v|more Hyper-V pages]]**
  
 Linux Integration Services: http://www.microsoft.com/en-us/download/details.aspx?id=34603 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
 +
 +http://www.altaro.com/hyper-v/linux-on-hyper-v/
 +
 +http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,48176/
 +
 +===== 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.
 +
 +<file>
 +yum update -y
 +
 +reboot
 +</file>
 +
 +:!: 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:
 +
 +<file>
 +yum install wget
 +
 +wget http://mirrors.zwiegnet.com/LinuxIC/3.4%202012/LinuxICv34.iso
 +</file>
 +
 +Alternately, you can just copy the ISO image to the Hyper-V server.
 +
 +On the source PC:
 +
 +<file>
 +scp Desktop/LinuxICv34.iso root@192.168.1.3:~
 +</file>
 +
 +==== Install Linux Integration Services ====
 +
 +First we mount the ISO image in the Linux guest VM:
 +
 +<file>
 +mount -o loop LinuxICv34.iso /mnt
 +</file>
 +
 +Then we install the tools:
 +
 +<file>
 +cd /mnt/RHEL63
 +
 +./install
 +</file>
 +
 +==== Activate Advanced Network Adapter ====
 +
 +Determine the MAC address and copy it:
 +
 +<file>
 +ifconfig -a eth0 | grep "HWaddr" | cut -d " " -f 11
 +</file>
 +
 +Shut down the VM:
 +
 +<file>
 +shutdown now -h
 +</file>
 +
 +:!: 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.1358871207.txt.gz · Last modified: 2013/01/22 09:13 by gcooper