Saturday, July 16, 2011

Converting your existing .vmdk Virtual Disc Image To a .vdi File

STEP1: If we have multiple vmdk-files like "vm.vmdk, vm-flat.vmdk, vm-0001.vmdk", we have to reorganize our .vmdk-files with:

vmware-vdiskmanager -r vm.vmdk -t 0 hardrive-name.vmdk



STEP2: sudo apt-get install qemu

STEP3: qemu-img convert harddrive-name.vmdk raw.bin


STEP4: VBoxManage convertdd raw.bin new.vdi


Step5:  Now create a new virtual machine and add the new.vdi harddisk.

No comments:

Post a Comment