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 12:20, Marcin Owsiany wrote:
If not, then how did you manage to boot the currently running system?

The currently running system was booted using the 2.6.8-2-386 kernel supplied with Debian 3.1r1a.

That kernel appears to have LVM support compiled in rather than as a module:

        dom0a:~# find /lib/modules/ -print|grep -i lvm
        dom0a:~#

Try sticking "set -x" into mkinitrd to see when it's failing.

With "set -x":

        dom0a:~# mkinitrd -o /boot/initrd.img-xen-2.6.12.6-xen0 2.6.12.6-xen0
        [Lots of lines cut]
        + module_exists drivers/md/lvm-mod
        ++ find /lib/modules/2.6.12.6-xen0/kernel/drivers -name lvm-mod.ko
        + '[' -n '' ']'
+ echo '/usr/sbin/mkinitrd: /dev/mapper/group1-dom0slash: Kernel does not support LVM' /usr/sbin/mkinitrd: /dev/mapper/group1-dom0slash: Kernel does not support LVM
        + exit 1
        + rm -r /tmp/mkinitrd.JiViqZ
        + '[' ']'

Cheers,

Mark.

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