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

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:microsoft:hyper-v-linux [2013/01/22 10:12]
gcooper
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 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
  
-===== Copy an ISO image file to the Linux guest VM =====+http://www.altaro.com/hyper-v/linux-on-hyper-v/
  
-Once networking and SSH are configured on the Linux guest VM, you can copy and then mount the ISO image file.+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: On the source PC:
Line 15: Line 45:
 </file> </file>
  
-On the Linux guest VM:+==== Install Linux Integration Services ==== 
 + 
 +First we mount the ISO image in the Linux guest VM:
  
 <file> <file>
Line 21: Line 53:
 </file> </file>
  
-===== Install Linux Integration Services =====+Then we install the tools:
  
 <file> <file>
Line 27: Line 59:
  
 ./install ./install
 +</file>
  
-reboot+==== Activate Advanced Network Adapter ==== 
 + 
 +Determine the MAC address and copy it: 
 + 
 +<file> 
 +ifconfig -a eth0 | grep "HWaddr" | cut -d " " -f 11
 </file> </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.1358874773.txt.gz · Last modified: 2013/01/22 10:12 by gcooper