How to create a Virtual PC hard disk image by using a backup disk image file (912826)



The information in this article applies to:

  • Microsoft Virtual PC 2004

INTRODUCTION

This step-by-step article describes how to create a Microsoft Virtual PC virtual hard disk that is an identical copy of a physical hard disk by using a backup disk image file.

MORE INFORMATION

To create a Virtual PC hard disk image by using a backup disk image file, follow these steps.

Note You must have administrator credentials on the Virtual PC host computer.
  1. Create a backup disc image file and recovery disc of the physical source computer by using the recovery or backup program that you prefer.
  2. Copy the backup disk image to a disk volume (partition) that does not have Virtual PC installed.
  3. Use the Virtual Disk Wizard to create a virtual hard disk image.

    Important To complete this procedure, the amount of free space that is available on the disk where you store the disk image must be larger than the size of the disk of which you want to create an image.
    1. Start Microsoft Virtual PC, click File, click Virtual Disk Wizard, and then click Next.
    2. Click Create new virtual disk, click Next, click A virtual hard disk, and then click Next.
    3. Click Browse, locate the folder where you want to save the disk image, type a name for the new disk image, click Save, and then click Next.
    4. In the Virtual Hard Disk Options dialog box, click Linked to a hard disk (Advanced).
    5. In the Caution - Virtual PC dialog box, click OK, and then click Next.
    6. Select the volume that contains the disk image from which you want to create a virtual disk, click Next, and then click Finish.
  4. Use the Virtual Disk Wizard again to create an expandable disk image:
    1. Start Microsoft Virtual PC, click File, click Virtual Disk Wizard, and then click Next.
    2. Click Create new virtual disk, click Next, click A virtual hard disk, and then click Next.
    3. Click Browse, locate the folder where you want to save the disk image, type a name for the new disk image, click Save, and then click Next.
    4. In the Virtual Hard Disk Options dialog box, click Dynamically expanding (Recommended).
    5. In the Virtual hard disk size box, type the disk size that you want, and then click Next.

      Note The available hard disk space on the host computer limits the actual hard disk image size. You can create a hard disk image that is larger than the available hard disk space on the host computer. However, the hard disk image expands to use only the hard disk space that is available on the volume where you create the hard disk image.
    6. Click Finish, and then click Close.
  5. Create a new virtual machine:
    1. Start Microsoft Virtual PC, click File, click New Virtual Machine Wizard, and then click Next.
    2. In the Options dialog box, click Use default settings to create a virtual machine, and then click Next.
    3. In the Name and location dialog box, click Browse to locate the folder where you want to save the virtual machine, type a name for the virtual machine name, click Save, and then click Next.
    4. Click to select the When I click Finish, open settings check box, and then click Finish.
    5. In the Settings for Virtual_Machine_Name dialog box, click Hard Disk 1, click Virtual hard disk file, and then click Browse.
    6. Locate and then click the expandable virtual disk file that you created in step 3, and then click Open.
    7. In the Settings for Virtual_Machine_Name dialog box, click Hard Disk 2, click Virtual hard disk file, and then click Browse.
    8. Locate and then click the virtual hard disk file that you created in step 2, click Open, and then click OK.
  6. Start the newly created virtual machine by using the recovery disk that you created in step 1.
  7. Restore the backup image from drive D to drive C.

    Note You can remove drive D after the virtual machine restarts the first time after the restore operation. You can do this because you do not need drive D after you copy the backup image to drive C.

Modification Type:MajorLast Reviewed:2/14/2006
Keywords:kbhowto KB912826