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: Fw: [Xen-users] Jailtime image problem - debian 4.0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: Fw: [Xen-users] Jailtime image problem - debian 4.0
From: Evan Lavelle <sa212+xen@xxxxxxxxxxx>
Date: Fri, 29 Feb 2008 21:17:36 +0000
Delivery-date: Fri, 29 Feb 2008 13:18:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0802291115q73d2b53fqa310dc32deb99c28@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <210956.14268.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0802291115q73d2b53fqa310dc32deb99c28@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
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