Convert virtual machine from vmware.vmdk to virtualbox.vdi

Easiest way to convert virtual machine from vmware.vmdk to virtualbox.vdi is to use these two tools: qemu and vditool

Navigate to you vmware machine which you would like to convert. Then run following command:

qemu-img convert -f vmdk vmware.vmdk -O raw virtualbox.bin

then you need to download vditool from:

http://www.virtualbox.org/download/testcase/vditool

make vditool executable:

chmod +x vditool

Use vditool to convert virtual images:

./vditool DD virtualbox.bin virtualbox.vdi

In some cases you may get on error:

./vditool: error while loading shared libraries: VBoxDD.so: cannot open shared object file: No such file or directory

So instead of running vditool use vboxmanager which should be installed all together with virtualbox. Here is a alternative to vditool command:
vboxmanage convertdd virtualbox.bin virtualbox.vdi

Leave a Reply

You must be logged in to post a comment.