May 30 2010
I’ve found more and more people are switching to Virtualbox these days and I keep running into the same question. ”How can I convert my VMware images to Virtualbox images?” Well, breath easy because it is possible and not very difficult!
There are two methods that I am aware of that will allow you to use your VMware images on Virtualbox. The first method I’ll outline uses the graphical Virtualbox interface and the second uses the command line. Each method should be equally as stable, it simple depends on your preference.
Inside the Virtualbox Menu click: File > Virtual Media Manager
Click on the “Add” button.
Locate and select the VMware .vmdk file you’d like to convert.
Verify your disk image has been added to the list of images and that the virtual and actual sizes appear accurate.
Create a new virtual machine profile, selecting your imported image for the storage.
Boot your new virtual machine.
To use the second method we’ll need an addition command-line tool called qemu.
sudo aptitude install qemu
You’ll new be able to convert a .vmdk (VMware image) to a .bin format, which can then be converted to a Virtualbox native .vdi format.
qemu-img convert /path/to/original.vmdk converted.bin
You’ll then need to use the VBoxManage utility that comes with Virtualbox to convert the .bin to a native .vdi format:
VBoxManage convertdd converted.bin converted.vdi
You can now create your new Virtualbox machine profile, using this new .vdi file as your disk image.
Two methods for converting VMware images to Virtualbox images. Are there any other methods that you can suggest, or have you had better experience with one or the other? Let us know!
If this article has been helpful, please consider linking to it.