Here are the steps I took to migrate VMware VM to VirtualBox:
-
Consolidate the snapshots and disk image files, by creating a new vmdk file (Type 0 is single growable):
/Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -r <current snapshot vmdk file> -t 0 <new vmdk file>
You can find out the current snapshot vmdk file from Settings -> Hard Disk -> File name.
-
Create a VirtualBox VM, but do not create a new virtual HD.
-
Copy/move the converted vmdk file to the new VirtualBox VM directory, and add it to the VM.
-
Boot the VM. It should work.
-
Remove the VMware tools with
vmware-tools-uninstall.pl
(as root) -
Install the VirtualBox guest extension.
-
Done.