Some time ago we explained how to convert an .vmdk file to a XEN compatible RAW file, today we are going to review how to convert one .vmdk to a virtualbox compatible .vdi disk.
First, create a virtual disk from preallocated to growable as we already saw. I will use one XPSP2 vmware disk.
# vmware-vdiskmanager -r XPSP2.vmdk -t 0 hardrive-preallocated.vmdk
Convert the file again to a .bin file with the help of quemu like:
# qemu-img convert hhardrive-preallocated.vmdk hardrive-raw-file.bin
And Read more...
.vmdk
All posts tagged .vmdk
Let's imagine you have a .vmdk file with a virtual machine data inside and you want to migrate this disks, to a Xen source virtual machine...
There are other "converters" provided by XEN, but this time we are going to do it manually.
First, we can convert a virtual disk from preallocated to growable with this tool from VMware:
# vmware-vdiskmanager -r vmware_image.vmdk -t 0 temporary_image.vmdk
Install qemu (on Debian apt-get install qemu). You will need the qemu-img disk image manipulation Read more...