For the mkinitrd script, a solution for the LVM2 module checking (assuming you 
have LVM2 built into your kernel instead) is:

<       elif module_exists drivers/md/dm-mod; then

---

>       elif module_exists drivers/md/dm-mod \

>         || [ -d /lib/lvm-200 ]; then



i.e., check for the existence of the LVM2 module or the lvm-200 directory.



That said, I ended up using the lvm2create_initrd script w/ a bunch of changes 
instead.



yaird might be a better option since it generates an initramfs image that 
supports LVM on RAID so hopefully mkinitrd will be retired soon...



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to