Loading...

November 15, 2012 1,550 views

Run VirtualBox machine in Virtual PC

Convert VirtualBox Virtual Disk Image (VDI) to Microsoft Virtual Hard Drive (VHD) format and create Virtual PC virtual machine with converted disk.

VirtualBox is a complex open source virtualization suite for various platforms used mostly on Unix-based systems. Even though it is also available for Windows operating systems, Windows users prefer more user-friendly Virtual PC. Unfortunately, default VirtualBox Virtual Disk Image (VDI) hard drive format is not supported by Virtual PC. However, you can convert VDI disk image to default Virtual PC's VHD and prepare a new Virtual PC machine with system and data stored on converted VDI hard drive.

Virtual PC iconVirtualBox is a complex open source virtualization suite for various platforms used mostly on Unix-based systems. Even though it is also available for Windows operating systems, Windows users prefer more user-friendly Virtual PC, which is a downloadable part of Windows 7 and 8 operating system and is also available as stand alone software for Windows XP or 2000.

Unfortunately, default VirtualBox Virtual Disk Image (VDI) hard drive format is not supported by Virtual PC. However, you can convert VDI disk image to default Virtual PC's VHD and prepare a new Virtual PC machine with system and data stored on converted VDI hard drive. And we will show you how.

Content of the article is divided into two sections:

Convert Virtual Disk Image (VDI) to Virtual Hard Drive (VHD)

VirtualBox contains command line utility called VBoxManage, with which you can convert VDI files to VHD file format. It is stored in the same directory as VirtualBox (by default \Program Files\Oracle\VirtualBox).

At first you need to remove VDI virtual hard drive from VirtualBox Virtual Media Manager. Open it in File menu → Virtual Media Manager. Click the right mouse button on virtual hard drive that you want to convert and click on Release option.

VirtualBox Media Manager release VDI file
VirtualBox Virtual Media Manager release virtual disk
 

Once again click right mouse button on the VDI file and select Remove option.

VirtualBox media manager remove vdi file
VirtualBox Virtual Media Manager remove virtual disk
 

Now you you need to run the Command line (Terminal, Bash in other operating systems), navigate to the directory with VirtualBox and type:

vboxmanage clonehd path:\soruce_disk.vdi path:\target_disk.vhd --format VHD

vboxmanage command convert VDI to VHD
Windows command line using vboxmanage command
 

VboxManage will create a clone of your virtual VDI disk in Virtual PC's VHD format to directory, which you specified in the command.

Create a new virtual machine in Microsoft Virtual PC

Now you have your VDI disk converted to Microsoft's VHD virtual disk. But if you want to run the system stored on VHD disk you need to create a new virtual machine in Virtual PC.

Start Virtual PC in a computer and click on New... button.

Virtual PC Console
Microsoft Virtual PC Console
 

Virtual PC will start a Virtual Machine Wizard. Select Create a virtual machine option and click on Next button.

Virtual PC Wizard create a new virtual machine
Virtual PC Wizard create new virtual machine
 

Set the virtual machine location and name. Click Next button.

Virtual PC wizard Name and Location settings
Virtual PC Wizard set location and name
 

Select the OS type (If the system on VHD disk is not in the list select Other option). Click Next button.

Virtual PC wizard operating system specification
Virtual PC Wizard operating system settings
 

Set the RAM size (ideal settings for most virtual machines is a half of physical memory).

Virtual PC wizard memory settings
Virtual PC Wizard RAM settings
 

In Virtual Hard Disk options select an existing hard drive option and click Next button.

Virtual PC wizard hard drive settings
Virtual PC Wizard Hard Disk options
 

Navigate to the folder, where Virtual Hard Drive (.vhd file extension) is stored. Click the Next button. The setup of new Virtual Machine is finished and Virtual PC Wizard will be closed.

Virtual PC wizard hard disk location
Virtual PC Wizard Virtual Hard Disk location settings
 

Now click on Start button in Virtual PC Console and wait until the virtual system boot up.

Windows 3.1 running in Virtual PC
Windows 3.1 running in Virtual PC
 

Windows Vista, Windows 7 and Windows 8 are also able to mount VHD files as physical hard drives. Here are guides How to mount VHD in Windows 7 and Vista and How to mount VHD in Windows 8.

Related articles

January 9, 2013

Run Acronis TIB as virtual machine

Acronis operating system backups stored in TIB files can be run in virtualization applications like...

Read more
June 30, 2012

How to install Mac OS X Lion to VirtualBox

Third party developers established project called OSx86, also known as Hackintosh, which allows user...

Read more
May 17, 2012

Run Virtual PC machines in VMware Workstation

Easily open Virtual PC virtual machine in VMware Workstation or convert Virtual PC VHD files to VMwa...

Read more
April 4, 2012

Run VMware virtual machines in Virtual PC

Virtual PC much like other Microsoft virtualization programs use VHD (Virtual Hard Disk) file format...

Read more
March 21, 2012

Open VMDK virtual disk images in VirtualBox

By default, VirtualBox uses VDI (Virtual Disk Image) container to store virtual hard drives that con...

Read more
December 8, 2011

How to convert VDI to VMDK

If you need to run any VirtualBox virtual machines in VMware, you must convert them to the VMware Vi...

Read more