152
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 1 Details:
If you are creating a virtual machine which will run "Windows XP", "Windows 7", or "Windows 8" as a guest OS, create a "Legacy Network
Adapter" for the virtual machine prior to starting
the virtual machine to install the guest OS.
Then add a regular VMBus-based "Network
Adapter" after the operating system is installed.
Then remove the "Legacy Network Adapter".
Then reboot the virtual machine to force a "plug and play" synch up with the VMBus-based
"Network Adapter.
153
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 1 Details:
If you are creating a virtual machine which will run "Windows Vista" as a guest OS, create a
"Legacy Network Adapter" for the virtual
machine prior to starting the virtual machine to
install the guest OS.
Then add a regular VMBus-based "Network
Adapter" after the operating system is installed.
Then perform the workaround described at http://support.microsoft.com/kb/954282
154
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 1 Details:
(If you are creating a virtual machine which will
run "Windows Vista"..(continued)) Then remove the "Legacy Network Adapter".
Then reboot the virtual machine to force a "plug and play" sync up with the VMBus-based
"Network Adapter".
155
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 1 Details:
If you are creating a virtual machine which will run "Ubuntu" or a "Ubuntu"
derivative, create a (regular)
"Network Adapter" for the virtual
machine prior to starting the virtual machine. (This is because "Ubuntu"
has VMBus drivers for the "Network Adapter" already in it.)
156
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 1 Details:
If you are creating a virtual machine which will run "Ubuntu" or
non-"Ubuntu" derivative distros of GNU/Linux, create a legacy "Network Adapter" for the virtual machine prior to starting the virtual machine. After the operating system is
installed, you can attempt to download
and install drivers for a (regular) "Network Adapter".
157
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 1 Details:
For advice on installing "Ubuntu 11.10" into a virtual machine in
"Hyper-V" in "Windows 8..", see http://www.eightforums.com/tutorials
/5078-hyper-v-create-linux-virtual-machine-windows-8-a.html
158
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 2 Details:
Clone an existing Hyper-V virtual machine (so that the cloned virtual machine also runs inside the Hyper-V “virtual machine program”).
159
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
Method 2: Clone Virtual Machines (continued)
–Two alternative procedures for cloning a
virtual machine in “Hyper-V":
Cloning Procedure 1: Use the "Export"
and "Import" functions of "Hyper-V"
Cloning Procedure 2: Copy the .VHDX or
.VHD virtual hard drive and then run the
"New" "Virtual Machine" function of
"Hyper-V".
160
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
Method 2: Clone Virtual Machines (continued)
–"Cloning Procedure 1"--To clone a virtual machine by using the "Export" and
"Import" features of "Hyper-V":
Step 1: Use the "Export" feature of Hyper-V to create a backup "image" of a virtual
machine Step 2: Use the "Import" feature of Hyper-V to create a new virtual machine from the backup image that was created in "Step
1".
161
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
Method 2: Clone Virtual Machines (continued)
–"Cloning Procedure 2"--To clone a virtual machine by copying the .VHDX or .VHD
virtual hard disk file:
Use "Windows Explorer" to make a copy of the .vhd or .vhdx virtual hard drive file.
From the Menu bar of "Hyper-V", click on
"Action", "New", and "Virtual Machine".
Specify the copy of the virtual hard drive
file when you arrive at the "Connect Virtual Hard Disk" dialog box.
162
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 3 Details:
"Method 3" consists of using an
existing virtual machine to create a new virtual machine that runs on a different “virtual machine program”
(= “V2V” which” stands for “Virtual to Virtual”)
163
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 3 Details (continued):
You can use Microsoft's free “Disk2VHD”
program to use a “Oracle VM VirtualBox”
virtual machine to create a new virtual machine for "Hyper-V". See
http://www.aztcs.org/meeting_notes/winha rdsig/virtualmachines/v2v/Disk2VHD-v2v-VBoxtoVHD.pdf
164
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Method 3 Details (continued):
You can use the free
"VMDK(VMWare) to VHD Converter"
to convert a VMware virtual machine to a new virtual machine for Hyper-V.
See
http://community.spiceworks.com/ho w_to/show/635
165
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• “ADD-ON” SOFTWARE TO INSTALL INTO EACH VIRTUAL MACHINE:
After you create a virtual machine using any of the three methods, you should
start the virtual machine and install “add-on” software that is provided by the maker of the virtual machine program.
166
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• For "Windows.." virtual machines running in
"Hyper-V", you can install the "Integration
Services" Add-on to enable enhanced functions such as better mouse control, a driver for the
non-legacy network adapter, AND faster
communications between the virtual machine
and the host operating system:
Start up the guest operating system of the
virtual machine Click on "Action"; then click on "Insert
Integration Services Setup Disc".
167
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• When you install Hyper-V's "Integration
Services" as a software program into a guest operating system, you are adding a "VMBus"
module into the virtual machine.
• See
http://www.virtuatopia.com/index.php/Understan
ding_and_Installing_Hyper-V_Integration_Services
168
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• For "GNU/Linux.." virtual machines running in "Hyper-V", you can install
"Integration Services" to make VMBus-based virtual "Network Adapters" work after you download it from
http://www.microsoft.com/en-us/download/details.aspx?id=28188 or
http://www.microsoft.com/en-us/download/details.aspx?id=29991
169
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• For an example of how to install
"Integration Services" into a Linux distro, see
http://jaredheinrichs.com/how-to-
install-centos-on-hyper-v-with-networking.html
170
PROJECT 3 DETAILS
(CREATE VIRTUAL MACHINES)
• Some distros of Linux already have Microsoft's "Integration Services"
incorporated by their developers so
you do not need to install "Integration Services" after installing them into a virtual machine: Ubuntu 12.04, Linux Mint 13
171 171
OPTIONAL PROJECT 4
(P2V=“PHYSICAL TO VIRTUAL”)
Use a Real Computer to Make a Virtual Machine
"Hyper-V" Program
172
OPTIONAL PROJECT 4 DETAILS (continued) (DO "PHYSICAL TO VIRTUAL”)
• To use a real, physical computer to create a "virtual machine" (P2V) that can be "played" in any "Windows 8.."
computer that has "Hyper-V" activated in it, you can use Microsoft’s
“Disk2vhd”.
173
OPTIONAL PROJECT 4 DETAILS (continued) (DO "PHYSICAL TO VIRTUAL”)
• “Physical to Virtual” (P2V) By
Microsoft’s Free “Disk2VHD” Program –The “Disk2VHD” program can be
downloaded from
http://technet.microsoft.com/en-us/sysinternals/ee656415
174
OPTIONAL PROJECT 4 DETAILS (continued) (DO "PHYSICAL TO VIRTUAL”)
• “Physical to Virtual” (P2V) By the Microsoft’s Free “Disk2VHD” Program
–You can install it into any physical
computer that has Windows XP Service Pack 2 and higher, Windows Vista, or
Windows 7 and use it to create a .VHD virtual hard drive file that can be used to create a virtual machine in “Windows
Virtual PC”, “Microsoft Virtual PC 2007”, or “Oracle VM VirtualBox”.
175
OPTIONAL PROJECT 4 DETAILS (continued) (DO "PHYSICAL TO VIRTUAL”)
• “Physical to Virtual” (P2V) By Microsoft’s Free
“Disk2VHD” Program (continued)
–For detailed instructions for using
“Disk2VHD” to use a “Windows XP”
computer to create a virtual machine that runs in "Hyper-V", see
http://www.techrepublic.com/photos/con
vert-xp-into-a-windows-7-virtual-machine-with-disk2vhd/466302
176
OPTIONAL PROJECT 4 DETAILS (continued) (DO "PHYSICAL TO VIRTUAL”)
• “Physical to Virtual” (P2V) By Microsoft’s Free
“Disk2VHD” Program (continued)
–The steps for using “Disk2VHD” to create a virtual machine from a real
computer are almost exactly the same as the (V2V) steps for using an “Oracle VM VirtualBox” virtual machine to create a “Windows Virtual PC” or “Microsoft
Virtual PC 2007” virtual machine.
177
PROJECT 5 DETAILS: USE VIRTUAL MACHINES
• Virtual Hardware
• Full virtualization means that all major hardware components are virtualized in software by the "virtual machine
program".
178
PROJECT 5 DETAILS
USE VIRTUAL MACHINES
• Virtual Hardware (continued) –A view of itself from inside a
“Windows 7” virtual machine
inside “Hyper-V”:
179
PROJECT 5 DETAILS: USE VIRTUAL MACHINES
• Virtual Hardware (continued):
The manufacturer of this virtual
machine computer is shown to be
“Microsoft
Corporation”.
180
PROJECT 5 DETAILS (continued)
USE VIRTUAL MACHINES
• Virtual Hardware (continued)
–The "virtual hardware" in a virtual machine contains a set of
standardized hardware that the
"virtual machine program" creates for each virtual machine: BIOS,
motherboard, drive controllers, network adapter(s), monitor,
keyboard, mouse, etc.
181
PROJECT 5 DETAILS (continued)
USE VIRTUAL MACHINES