[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: [Xen-users] Jailtime image problem - debian 4.0



Todd Deshane wrote:
On Fri, Feb 29, 2008 at 12:17 PM, Dushmant Mohapatra <d_mpatra@xxxxxxxxx> wrote:

if you have not built a separate domU kernel then I guess you can still
use the dom0 kernel. At least that worked for me.

Right. You can use the dom0 kernel.

That came as a surprise to me, so I tried it, but with no luck. My Dom0 f8-xen kernel requires an initrd, so I changed the jailtime:

kernel = "/boot/vmlinuz-2.6-xen"

to:

kernel  = "/boot/vmlinuz-2.6.21-2952.fc8xen"
ramdisk = "/boot/initrd-2.6.21-2952.fc8xen.img"

I can't boot with or without the ramdisk line. With the ramdisk line, I get:

Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'

I don't understand why it's saying "no volume groups found", but when would it ever work to use a Dom0 initrd for a DomU boot? My Dom0 is on LVM, and fstab looks like this:

/dev/VolGroup00/LogVol01 /      ext3    defaults        1 1
...
/dev/VolGroup00/LogVol00 swap   swap    defaults        0 0

And the jailtime fstab looks like this:

/dev/sda1   /        ext3      defaults,errors=remount-ro    0     0
/dev/sda2   none     swap      sw                            0     0
proc        /proc    proc      defaults                      0     0

So surely, at the very least, initrd has to be rebuilt for the jailtime image. Or have I missed something?

Thanks -

Evan

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.