Hi,
I want kernel modules disable and lvm enable system.
I try modify /usr/sbin/mkinitrd
Here's the diff:
--- /usr/sbin/mkinitrd~ 2005-01-25 05:28:45.000000000 +0900
+++ /usr/sbin/mkinitrd 2005-01-25 05:55:57.000000000 +0900
@@ -282,7 +282,7 @@
echo /sbin/vgchange
echo /sbin/vgscan
} >&6
- elif module_exists drivers/md/dm-mod; then
+ elif module_exists drivers/md/dm-mod || grep CONFIG_BLK_DEV_DM=y
/boot/config-${VERSION} > /dev/null ; then
if [ ! -d /lib/lvm-200 ]; then
echo "$PROG: $device: LVM2 is required" >&2
exit 1
$ dpkg -l initrd-tools
ii initrd-tools 0.1.77 tools to create initrd image for prepackaged
thanks.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]