On Tue, Aug 31, 2010 at 8:06 PM, g <[log in to unmask]> wrote:
>> On 08/31/2010 11:33 PM, Akemi Yagi wrote:

>  # mkinitrd --omit-raid-modules --omit-lvm-modules \
>    /boot/initrd-2.6.18-164.11.1.el5.img 2.6.18-164.11.1.el5
>
> dm-* modules load on boot.
>
> added
>
>  blacklist dm-[module names]
>
> to "modprobe.conf", 'dm-*' modules load on boot.
>
> any further suggestions?

I understand mkinitrd would not honor the options if the system sees
certain hardware.

If you are determined to removed those modules, you can do so by:

(1) unpack the initrd.img file (use gunzip and cpio)
(2) delete the modules of your target
(3) repack the modified content into initrd.img

Akemi