<Lu.YJ@inventec.com>
2011-May-19 07:45 UTC
[Xen-devel] Fail to boot Xen raw image with hda converted from VMWARE vmdk image with scsi
Hi everyone, 1. I try to boot a raw image with hda under Xen hypervisor converted by VMWARE vmdk image with scsi, but fail to boot with error message “Error loading operating system” below”. Who can give me a favor? 2. Under vSphere, create a windows XP VM with scsi storage then install a windows XP to the SCSI storage called xp.vmdk in the VM via iso file. Can successfully boot the VM under VMWARE hypervisor. Shutdown the VM. 3. Use tool qemu-img to convert the vmware VM image xp.vmdk to raw image called xp.raw 4. Create a XEN VM with hda to xp.raw. During booting the XEN VM, will appear the error message “Error loading operating system” below. 5. I modify ide.c and rombios.c in xen hypervisor per the following link then rebuild hypervisor then replace “qemu-img and hvmload” with the built ones, but still fail to successfully boot with the same error message. http://xen.1045712.n5.nabble.com/PATCH-0-2-Fix-could-not-boot-vm-image-which-converted-from-phy-partition-td2548812.html Note: My Xen platform is the CentOS5.5 64bit bundled with Xen 3.1.2. Linux 2.6.18-194.8.1.el5xen #1 SMP Thu Feb 10 11:27:38 CST 2011 x86_64 x86_64 x86_64 GNU/Linux xen_major : 3 xen_minor : 1 xen_extra : .2-194.8.1.el5 Thanks. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
henanwxr
2011-May-20 15:58 UTC
[Xen-devel] Re: Fail to boot Xen raw image with hda converted from VMWARE vmdk image with scsi
Hi, it seems that the format of the virtual machine file is incompatible betweent VMware and Xen. VMware has proposed a protocol named: OVF(Open Virtualization Format), the goal of OVF is to solve compatibility of image file during different virtual machine platforms. You can get more information aboutn OVF in the following website: http://www.vmware.com/appliances/getting-started/learn/ovf.html http://www.vmware.com/appliances/getting-started/learn/ovf.html -- View this message in context: http://xen.1045712.n5.nabble.com/Fail-to-boot-Xen-raw-image-with-hda-converted-from-VMWARE-vmdk-image-with-scsi-tp4409019p4412895.html Sent from the Xen - Dev mailing list archive at Nabble.com. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel