WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Ubuntu feisty dom0 and centos 5.1 domU problems

You've almost certainly got a ext3 filesystem on a CentOS 5.1 guest, so I 
wouldn't have thought that this would be your problem...

An alternative that you could use to get the domain running would be:

* mount the partition on the virtual disk you installed the guest to (use 
kpartx or lomount to access the partitions, then safely mount it somewhere 
e.g. /mnt/guest)
* copy a vmlinuz-*xen* (a Xenified Linux kernel image, it'll have a name 
following that pattern) and a initrd-*xen*.img with the same version number 
(a Xenified Linux initrd) out of the guest's filesystem and onto the host.
* unmount the guest partition
* Comment out the bootloader= line in your guest config for now.
* Set the kernel= and ramdisk= lines in the guest config to point to the 
locations of the files you just copied.
* Boot the guest.

This should start the guest's kernel directly, instead of using pygrub to poke 
around in the guest filesystem, so it should work.  It'd still be nice if we 
could solve your problem with pygrub though; have you tried reporting this to 
the Ubuntu Xen package maintainers?  Did updating the system help with this?

You obviously mustn't mount the guest's filesystem if the guest is running or 
suspended (it has to be shut down), bear this in mind if you ever need to 
repeat the procedure described above.

Cheers,
Mark

On Monday 07 April 2008, William Heath wrote:
> Hi All,
>
> I don't know what kind of filesystem I have for my xen guest.  How can I
> tell please, would I use kpartx?
>
> -Tim
>
> On Sun, Apr 6, 2008 at 10:04 PM, Brent Verner <brent@xxxxxxxxxxxx> wrote:
> > On Mon, Apr 7, 2008 at 12:24 AM, William Heath <wgheath@xxxxxxxxx> wrote:
> > > I am on ubuntustudio 7.04 fesity.  I got my xen from using apt on
> >
> > ubuntu.
> >
> > > Python 2.5.1c1 (release25-maint, Apr 12 2007, 21:00:25).  What can I
> > > try
> >
> > to
> >
> > > get this to work?
> >
> > Hiya,
> >
> >  I was seeing a similar error when trying to use pygrub to boot a NetBSD
> > domU.  It turned out that the bit of code that pulls the kernel from the
> > image
> > doesn't support 16k block size for FFS/UFS filesytems...
> >
> >  What filesystem did you create on your install image?
> >
> > cheers!
> >   Brent



-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users