Dracut unloaded\unneeded modules\drivers

Rick Stevens rstevens at corp.alldigital.com
Mon Feb 20 18:45:38 UTC 2012


On 02/20/2012 10:41 AM, Frank Murphy wrote:
> This is some of what's in /etc/grub2.cfg
>
> rd.md=0 rd.lvm=0 rd.dm=0 rd.luks=0 rd.plymouth=0
>
> I can see grub going:
> "disabling lvm, dmraid, mdraid"
>
> Now if I want to add them to /etc/dracut.conf
> # Dracut modules to omit
> #omit_dracutmodules+=""
>
> is it
> omit_dracutmodules+="luks lvm dmraid mdraid plymouth"
> or
> omit_dracutmodules+="luks,lvm,dm,md,plymouth"
>
> I hope will make for a lighter initramfs,
> along with "hostonly"
>

 From "man dracut.conf":

	omit_dracutmodules+=" <dracut modules> "
            Omit a space-separated list of dracut modules.

So your first choice is the correct one (space separated).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
- Life:  That which happens while you search for the remote control. -
----------------------------------------------------------------------


More information about the users mailing list