This Wiki is the old Xen Wiki, which is now read-only!
Please go to wiki.xen.org for the live version!
Xen 
 
Home Products Support Community Blog
 
   

Migrate a VmWare disk image to XEN

Install qemu (on Debian apt-get install qemu). You will need the qemu-img disk image manipulation tool.

vmware-vdiskmanager -r vmware_image.vmdk -t 0 temporary_image.vmdk
qemu-img convert -f vmdk temporary_image.vmdk -O raw xen_compatible.img

You can now use xen_compatible.img with xen, or dd it to a block device. Alternatively, you can put directly the output of qemu-img to a block device, without generating an intermediate image file.

If you need to access a single partition from the image, here you can find a recipe

Can somebody help to put additonal notes of how to get .img to xen vm? I have a Xen xPress server and Xen Center host. Once I coverted this vmware image to xen_compatible.img, how do I load it to Xen and get it running?

thanks

peng

VMDKImage (last edited 2007-10-24 13:49:14 by linix)

 
   
   
Citrix