[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#293508: initrd-tools refuses to make an initrd when lvm support is compiled, in the kernel



Package: initrd-tools
Version: 0.1.77

I'm trying to switch from a 2.4.24 kernel to a 2.6.10 kernel and
in the process go from lvm1 to lvm2. My root is also on lvm.
When i compile a kernel with lvm2 in it, so no dm-mod to be found,
mkinitrd refuses to build an initrd saying "Kernel does not support LVM".

If i set lvm2 as module, then it makes an initrd.

root@arthur# mkinitrd -o initrd.img-2.6.10.03feb2005-skas3-v7 -r
/dev/main/lv_root 2.6.10.03feb2005-skas3-v7
/usr/sbin/mkinitrd: /dev/mapper/main-lv_root: Kernel does not support LVM

root@arthur# grep "DM" /boot/config-2.6.10.03feb2005-skas3-v7
...
CONFIG_BLK_DEV_DM=y
...

I don't think it's related to bug #291386
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291386> as lvm1 is
removed from my system

ii  lvm-common     1.5.17        The Logical Volume Manager for Linux
(common
rc  lvm10              1.0.8-8       The Logical Volume Manager for Linux
ii  lvm2                 2.00.32-1   The Linux Logical Volume Manager
ii  module-init-tools 3.2-pre1-2  tools for managing Linux kernel modules
ii  coreutils            5.2.1-2        The GNU core utilities
ii  fileutils                 5.2.1-2     The GNU file management
utilities (transitional package)

Somebody on the debian-user list said the mkinitrd script probably has an
error when checking for lvm2. It would be nice if this could be fixed.

Regards,
Benedict Verheyen




Reply to: