Loading...

March 21, 2012 1,817 views

Open VMDK virtual disk images in VirtualBox

Open VMware Workstation VMDK Virtual Machine Disk files in VirtualBox or convert VMDK to VirtualBox VDI Virtual Disk Image file format.

By default, VirtualBox uses VDI (Virtual Disk Image) container to store virtual hard drives that contain virtualized operating systems. However this article will show that it can also work with other virtual hard disk formats including VMware Workstation VMDK (Virtual Machine Disk) image files.

VirtualBox iconVirtualBox is multiplatform virtualizing software that is able to create and run virtual computers on one physical machine. It offers large support of various operating systems for emulation.

By default, VirtualBox uses VDI (Virtual Disk Image) container to store virtual hard drives that contain virtualized operating systems. However it can also work with other virtual hard disk formats including VMware Workstation VMDK (Virtual Machine Disk) image files.

How to open VMDK virtual disk file in VirtualBox

Download the VirtualBox for your operating system from Oracle website. VirtualBox is available for free without any restrictions. Run the installation package and wait until the installation will be finished.

Start VirtualBoxclick on New icon → VirtualBox will start Virtual Machine WizardClick Next button.

Virtual Box Manager main window
VirtualBox Manager main window
 

Set the name of new virtual machine → select operating system, its version and click Next button.

VirtualBox Wizard VM Name and OS Type
VirtualBox Wizard set VM name and OS type
 

Set the amount of RAM memory and click Next button.

VirtualBox Wizard amount RAM
VirtualBox Wizard amount RAM
 

In Virtual Hard Disk window select Use existing hard disk option. Click on Choose a virtual hard disk file... option  → select VMware .vmdk virtual hard disk file and click Next button.

VirtualBox Wizard virtual hard disk settings
VirtualBox Wizard Virtual Hard Disk settings

The VirtualBox Wizard will show you Summary window → click Create button.

VirtualBox main window start virtual machine
VirtualBox Manager with new virtual machine
 

Now you have prepared a new VirtualBox virtual machine that uses VMDK virtual hard disk as default virtual disk file format. Click on Start icon to run virtual machine.

How to convert VMDK virtual disk file to VDI virtual disk image

At first you will need a qemu-img converting utility that is distributed with QEMU processor emulator and vboxmanage utility that is part of VirtualBox package. Both of them are running in command line (Terminal in Unix, Unix-based systems).

Run the command line → go to the folder where you saved qemu-img.exe file and type:

qemu-img convert d:\windows31.vmdk -O raw d:\windows31.raw

Windows command line qemu-img
qemu-img convert command
 

Wait until conversion to RAW will be finished.

Go to the VirtualBox folder and type:

vboxmanage convertfromraw d:\windows31.raw d:\windows31.vdi

Windows command line vboxmanage
vboxmanage convert command
 

Wait until conversion to VDI is finished. Now start VirtualBox and create new virtual machine in the same way as we did in the first part of this article.

 

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
November 15, 2012

Run VirtualBox machine in Virtual PC

VirtualBox is a complex open source virtualization suite for various platforms used mostly on Unix-b...

Read more
September 14, 2012

Run Mac OS X in VMware Workstation

Many users would like to try Mac OS X operating system that runs on Apple computers. There are some...

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
June 4, 2012

Guide: Install Windows 8 as a virtual machine with VMware

Microsoft released release preview of their upcoming version of Windows operating system - Windows 8...

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