[linux-lvm] Patch lvmcreate_initrd

Stefan Helfert Stefan.Helfert at mpi-hd.mpg.de
Sun Jun 25 12:59:28 UTC 2000

Dear all,

sorry if this is old stuff but I did not find any reference in the

When trying to install a root partition with lvm and reiserfs on a
notebook, I found that the lvmcreate_initrd script is building a
unusable initrd:
[initrd]./linuxrc needs /bin/mount and /bin/umount, but those won't be

System: SuSE 6.4, but I rechecked this against the lvm_0.8final.tgz.

With this patch, everything is working fine:
(since my kernel as the SuSE standard kernel does have lvm included in
the kernel, not as module, the script complains about the missing lvm.o.
This could be detected, also...)


--- lvmcreate_initrd    Tue Feb 22 03:09:33 2000
+++ lvmcreate_initrd.new        Sun Jun 25 10:56:44 2000
@@ -37,7 +37,7 @@
-INITRDFILES="/sbin/modprobe /sbin/vgchange /sbin/vgscan /bin/bash
/bin/sh /bin/rm /sbin/insmod /sbin/modprobe /dev/*
/lib/modules/${VERSION}/modules.dep /lib/modules/${VERSION}/block/lvm.o"
+INITRDFILES="/sbin/modprobe /sbin/vgchange /sbin/vgscan /bin/bash
/bin/sh /bin/rm /bin/mount /bin/umount /sbin/insmod /sbin/modprobe
/dev/* /lib/modules/${VERSION}/modules.dep

 trap "
I wish there was a knob on the TV to turn up the intelligence. 
There's a knob called brightness, but it doesn't seem to work. 

More information about the linux-lvm mailing list