This article describes how to add .vhd files to the Hyper-V Virtual Machine.
When adding the .vhd virtual disks to the Hyper-V Virtual Machine, configure the OS drive to be an IDE controller. (This is a Microsoft requirement.) Other disks can be SCSI. It is imperative to add the .vhd snapshot. For example, the C drive will have a c-snapshot.vhd (snapshot) and a c.vhd (base). This is important because the snapshot contains changes made to the disk required to allow it to boot. Do not select the base c.vhd to add. If the base is selected by mistake, not only will it fail to boot, the OS will alter the base when trying to initialize, thus breaking the sync it has to the snapshot and rendering both useless.
System Reserved Partitions (SRP) were introduced in Windows 7 and Windows 2008 R2. For systems with SRPs or other “system” partitions (with the boot manager), the SRP snapshot must be attached to IDE Master and the C snapshot (with the OS) to IDE Slave. Other drives can be added as SCSI.
In Replay 4.4, the SRP will be mounted so the administrator can configure protection on this in the Replay Admin Console. It is important to have the SRP in the VM export in order to boot the VM.
Refer to the following steps to configure Hyper-V Virtual Machine with Hyper-V VM Export Images.
These steps will add a new virtual machine to the Hyper-V server:
- Open Hyper-V Manager.
- Right click on Hyper-V Server and select “New→Virtual Machine…” menu option. A “New Virtual Machine Wizard” will come up.
- Click the “Next” button on the “Before You Begin” screen.
- Insert your new virtual machine name in the “Name” textbox and click the “Next” button.
- Enter the virtual machine memory size in the “Memory” textbox and click the “Next” button.
- Select your network configuration using the “Connection” pull down menu and click the “Next” button.
- Select the “Attach a virtual hard disk later” radio button and click the “Next” button.
- Click the “Finish” button.
- The new virtual machine have been added.
We will now attach the system drive(s) to the new Virtual Machine:
- Under the “Virtual Machines” listing, right click on the virtual machine that was just created and select the “Settings…” menu option.
- Select “IDE Controller 0″ on the Hardware list. Select “Hard Drive” as the type of drive that you want to attach and click the “Add” button.
- When the “Hard Drive” configuration screen comes up, click on the “Browse…” button to specify your VHD.
- Go to the folder location of the Hyper-V Virtual Machine Export images.
- If the Hyper-V Export images contain “CWindowsSRPPartition-snapshot.vhd”, select “CWindowsSRPPartition-snapshot.vhd”; click the “Open” button; and repeat steps 2 through 5 with “C-snapshot.vhd”. Otherwise, select “C-snaphot.vhd” and click the “Open” button.
- Click on the “Apply” button in the Settings dialog.
- The system drives have now been added to the virtual machine.
* Do not add C.vhd or CWindowsSRPPartition.vhd to the virtual machine.
Attaching additional disks:
- If there are additional disks that needs to be attached to the virtual machine, select the “SCSI” controller on the Hardware list.
- Select “Hard Drive” as the type of drive that you want to attach and click the “Add” button.
- When the “Hard Drive” configuration screen comes up, click on the “Browse…” button to specify your VHD.
- Go to the folder location of the Hyper-V Virtual Machine Export images.
- Select the VHD file to be added to the virtual machine and click the “Open” button.
- Repeat steps 1-5 for any remaining VHD’s.
- Click on the “Apply” button in the Settings dialog.
- The additional drives have now been added to the virtual machine.
The virtual machine is now ready to be booted.
Tidak ada komentar:
Posting Komentar