|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Root fs on LVM on software RAID1?
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
|
|
|
|
|