convering vmware image to xen image
says
ThenInstall 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.imgYou 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
wiki.oracle.com
| RE: Convert VMware image to Oracle VM image Nov 18 2007, 1:06 PM EST so we need to put up a script for you but basically : copy the vmdk file and the text file of the vm description to your vmserver put it in /OVS/running_pool/<somenameyouwant> then do qemu-img myvmwaredisk.vmdk -O raw system.img then look at a vm.cfg and edit it so that you put the file:/OVS/running_pool/<somenameyouwant>/system.img in there as disk and change vcpus and memory to what you wanted it to be can you try ? 3 out of 4 found this valuable. Do you? | |
| sergio_oracle sergio_oracle | RE: Convert VMware image to Oracle VM image May 15 2008, 9:51 PM EDT Note, you need to use the convert command in the qemu-img syntax # qemu-img convert rhel.vmdk -O raw system.img 1 out of 1 found this valuable. Do you? |