How to convert VDI to VMDK; Converting a VirtualBox image to a VMware disk image and vice versa
You need the QEMU emulator software package
in order to execute this command
You should keep in mind that you might get an IDE VMware disk image in this way but a SCSI hard disk image is recommended by VMware for more I/O performance.
Just type
to get all supported formats which you can supply as the -O parameter. It is also possible to convert a VMDK to a VDI hard disk image. To convert a VMware image to a VirtulBox image, you have to use the qemu-img-vdi command which you can get by patching QEMU.
Afterwards you may execute this command:
aptitude install qemu
in order to execute this command
qemu-img convert VirtualBox-HardDisk-image.vdi -O vmdk VMware-virtual-machine-image.vmdk
You should keep in mind that you might get an IDE VMware disk image in this way but a SCSI hard disk image is recommended by VMware for more I/O performance.
Just type
qemu-img
to get all supported formats which you can supply as the -O parameter. It is also possible to convert a VMDK to a VDI hard disk image. To convert a VMware image to a VirtulBox image, you have to use the qemu-img-vdi command which you can get by patching QEMU.
Afterwards you may execute this command:
qemu-img-vdi convert VMware-hard-disk-image.vmdk -O VDI VirtualBox-image.vdi
Hi!!!! Nice Stuff but .vmdk is not working in the VMWare Player or VMWare Workstation
ReplyDeleteit's ask .vmx formate.... what can i do ...
great tutorial, its very useful. thanks brother.
ReplyDeleteHey Guys, came across this post on google among many others that say it can only be done via linux. Not so...
ReplyDeleteFor windows ppl the command is:
vboxmanage clonehd [path to .vmdk] [path\name of new .vdi] --format VDI
This comment has been removed by the author.
ReplyDeleteVDI to VMDK did not work for me. Its creating just a blank disk. I found the correct way to convert vdi to vmdk which is working fine.
ReplyDeleteRead more here http://www.sysprobs.com/convert-vdi-vmdk-open-sun-virtualbox-virtual-machine-vmware-player-workstation
Check out SmartVDK from SmartDeploy, http://www.smartdeploy.com/System/Download.aspx?pid=3&rid=9
ReplyDeleteSmartVDK converts from .vhd, .vmdk, .vdi. or .hdd to any of these formats and its free for non-commercial use.