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] Root fs on LVM on software RAID1?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Root fs on LVM on software RAID1?
From: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Tue, 21 Feb 2006 18:41:26 +0100
Delivery-date: Tue, 21 Feb 2006 17:51:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <15CF3405-F203-4122-8ADB-BB202DB81E3F@xxxxxxxx>
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: <15CF3405-F203-4122-8ADB-BB202DB81E3F@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
On Tuesday 21 February 2006 18:17, Mark Turner wrote:
> I'm having problems getting a fresh Xen 3.0.1 install booting.
>
> The server is running Debian 3.1, with /boot on an ext3 partition on
> the first SATA disk. I have / mounted on an ext3 partition that is
> inside LVM on a software RAID1 partition on both disks.
>
> The server boots fine without Xen, but with Xen it says it can't find
> an NFS root.
>
> The (I think) relevant parts of /boot/grub/menu.lst are:
>
>       title           Debian GNU/Linux, kernel 2.6.8-2-386
>       root            (hd0,1)
>       kernel          /vmlinuz-2.6.8-2-386 root=/dev/mapper/group1-
> dom0slash ro
>       initrd          /initrd.img-2.6.8-2-386
        ^^^^^^
>       savedefault
>       boot
>
>       title Xen 3.0 / XenLinux 2.6
>       kernel /xen-3.0.gz dom0_mem=262144 root=/dev/mapper/group1-dom0slash
> ro console=tty0
>       module /vmlinuz-2.6.12-xen0 root=/dev/mapper/group1-dom0slash
>
> Any tips please?
>

Looks like your "normal" Linux boots using an initrd which sets up your 
raid/lvm.

You'll need an initrd doing the same for your Xen0 domain.

with a bit of luck, "mkinitrd <xen-kernel-version>" does the right thing, 
check the mkinitrd docs or search the list for instructions.

If you compile all needed modules statically into the kernel, maybe even the 
original initrd might work.

/Ernst

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