Friday, 24 February 2012

Convert virtual machine disks VDI to VMDK

I recently wished to migrate my dev vm from VirtualBox To VMware. So the only thing I needed is to convert the VDI virtual disk into VMware's VMDK format as VirtualBox can read several disk types but VMware needs it's own child.
So as long as VirtualBox is still installed, I could use this simple command:
vboxmanage clonehd old_virtualbox_disk.vdi new_vmware_disk.vmdk –format VMDK –variant standard
Obviously, you have to find the vboxmanage executable yourself on your system. This command is crossplatform. :)