xen-devel
Re: [Xen-devel] [XCP] converting a .img to xva
It's ext3
On Tue, Nov 16, 2010 at 10:44 AM, David Markey <admin@xxxxxxxxxxx> wrote:
What filesystem is within the VM?
Hi, a small question.. I'm trying to convert a .img from a xen system to a xva for my XCP system.
I did the following -> Somebody send me a local copy of the .img including all the needed files (kernel/config).
I eddited the xen.conf to point to the correct locations of my files it now looks like this:
kernel = "/home/peter/xcp-convert/centos-5.0-x86_64-build-A/kernel/boot/vmlinuz-2.6.18-xen"
ramdisk = "/home/peter/xcp-convert/centos-5.0-x86_64-build-A/kernel/boot/initrd-2.6-xen.img" # Initial memory allocation (in megabytes) for the new domain.
#---------------------------------------------------------------------------- # Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write. disk = [ 'file:/home/peter/xcp-convert/2.1-centos-5.0-x86_64-build-A/disks/disk.img,sda1,w','file:/home/peter/xcp-convert/centos-5.0-x86_64-build-A/disks/swap.img,sda2,w' ]
# A name for your domain. All domains must have different names.
name = "centos-5.0-x86_64-build-A"
# Number of network interfaces. Default is 1.
Then i runned the script, at it seemed to work: ~/Scripts/xcp-xva-convert/xva.py --config=xen.cfg --filename=converted.xva
After a installation, and a succesfull import (+ copy like the echo told me to) i'm not able to start it:
[root@box 80edf9c0-f0c3-11df-afb8-002185fade1c]# xe vm-start vm=centos-5.0-x86_64-build-A
Error code: WARNING: /dev/xvda is not a disk image
Error parameters: Traceback (most recent call last):, File "/usr/bin/pygrub", line 746, in ?, raise RuntimeError, "Unable to find partition containing kernel", RuntimeError: Unable to find partition containing kernel,
[root@box 80edf9c0-f0c3-11df-afb8-002185fade1c]#
I asked this on the normal mailing list but they pointed me to this direction.
Hope you can help me, thanks,
Peter
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [XCP] converting a .img to xva, Peter den Hartog
- Re: [Xen-devel] [XCP] converting a .img to xva, David Markey
- Re: [Xen-devel] [XCP] converting a .img to xva,
Peter den Hartog <=
- Re: [Xen-devel] [XCP] converting a .img to xva, David Markey
- Re: [Xen-devel] [XCP] converting a .img to xva, Peter den Hartog
- Re: [Xen-devel] [XCP] converting a .img to xva, David Markey
- Re: [Xen-devel] [XCP] converting a .img to xva, Peter den Hartog
- Re: [Xen-devel] [XCP] converting a .img to xva, David Markey
- Re: [Xen-devel] [XCP] converting a .img to xva, Peter den Hartog
- Re: [Xen-devel] [XCP] converting a .img to xva, David Markey
- Re: [Xen-devel] [XCP] converting a .img to xva, Peter den Hartog
- Re: [Xen-devel] [XCP] converting a .img to xva, David Markey
- Re: [Xen-devel] [XCP] converting a .img to xva, Peter den Hartog
|
|
|