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 11:22]
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
Line 7: Line 9:
 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
  
-  * 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.+http://www.altaro.com/hyper-v/linux-on-hyper-v/
  
-===== Install Integration Services (Tools) =====+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 ==== ==== Copy an ISO image file to the Linux guest VM ====
Line 48: Line 63:
 ==== Activate Advanced Network Adapter ==== ==== Activate Advanced Network Adapter ====
  
-Determine the MAC address and put it into the variable ''$MAC'':+Determine the MAC address and copy it:
  
 <file> <file>
-MAC=`ifconfig -a eth0 | grep "HWaddr" | cut -d " " -f 11`+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.1358878954.txt.gz · Last modified: 2013/01/22 11:22 by gcooper