This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:microsoft:hyper-v-linux [2013/01/22 09:21] 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:// | ||
Linux Integration Services: http:// | Linux Integration Services: http:// | ||
+ | |||
+ | http:// | ||
Howto: http:// | Howto: http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== Install and Update the Linux VM ===== | ||
+ | |||
+ | :!: Be sure to choose " | ||
+ | |||
+ | < | ||
+ | yum update -y | ||
+ | |||
+ | reboot | ||
+ | </ | ||
+ | |||
+ | :!: Don't forget to update. | ||
+ | |||
+ | ===== 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 '' | ||
+ | |||
+ | < | ||
+ | yum install wget | ||
+ | |||
+ | wget http:// | ||
+ | </ | ||
+ | |||
+ | Alternately, | ||
+ | |||
+ | On the source PC: | ||
+ | |||
+ | < | ||
+ | scp Desktop/ | ||
+ | </ | ||
+ | |||
+ | ==== 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 " | ||
+ | </ | ||
+ | |||
+ | 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. | ||
+ | |||
+ |