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?

On 22 Feb 2006, at 17:41, Marcin Owsiany wrote:
There's a typo somewhere: note the "0" after "xen" below, and the lack
of it in locate output above.

dom0a:~# mkinitrd -o /boot/initrd.img-xen-2.6.12.6-xen0 2.6.12.6-xen0

Well spotted, thank-you.

Ok, a little further forward now.

Running mkinitrd with "set -x":

        dom0a:/boot# mkinitrd -o /boot/initrd.img-xen-2.6.12.6-xen 2.6.12.6-xen
        File descriptor 3 left open
        File descriptor 4 left open
        File descriptor 5 left open
        File descriptor 6 left open
        File descriptor 7 left open
            Finding all volume groups
          Incorrect metadata area header checksum
            Finding volume group "group1"
        /usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Could not load /lib/modules/2.6.12.6-xen/modules.dep: No such file or directory
        [ previous line repeated lots of times ]
        WARNING: This failure MAY indicate that your kernel will not boot!
        but it can also be triggered by needed modules being compiled into
        the kernel.
        dom0a:/boot#

The using this in /boot/grub/menu.lst:

        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-xen root=/dev/mapper/group1-dom0slash
        initrd /initrd.img-xen-2.6.12.6-xen

Trying to boot gives this error:

        Error 19: Linux kernel must be loaded before initrd

Cheers,

Mark.

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