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 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:// | ||
Linux Integration Services: http:// | Linux Integration Services: http:// | ||
+ | |||
+ | http:// | ||
Howto: http:// | Howto: http:// | ||
- | ===== Copy an ISO image file to the Linux guest VM ===== | + | http:// |
- | Once networking | + | http:// |
+ | |||
+ | ===== Install | ||
+ | |||
+ | :!: 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 | ||
+ | |||
+ | < | ||
+ | yum install wget | ||
+ | |||
+ | wget http:// | ||
+ | </ | ||
+ | |||
+ | Alternately, | ||
On the source PC: | On the source PC: | ||
Line 15: | Line 45: | ||
</ | </ | ||
- | On the Linux guest VM: | + | ==== Install Linux Integration Services ==== |
+ | |||
+ | First we mount the ISO image in the Linux guest VM: | ||
< | < | ||
Line 21: | Line 53: | ||
</ | </ | ||
- | ===== Install Linux Integration Services ===== | + | Then we install the tools: |
< | < | ||
Line 27: | Line 59: | ||
./install | ./install | ||
+ | </ | ||
- | reboot | + | ==== 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. | ||
+ | |||
+ |