0

convering vmware image to xen image

Posted by sanjay on 4:16 PM
VMDKImage - Xen Wiki
says

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
Then
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?    

0 Comments

Copyright © 2009 Note my web All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.