How to disable module in initrd

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Nov 19 15:40:57 UTC 2013


On Tue Nov 19 15:13:24 UTC 2013 Tom Horsley wrote:
> I'm pretty sure the initrd files are really just gzip compressed
> cpio archives, so you could uncompress it, extract the files, and
> do anything you want to them, then rebuild it (probably a good
> idea to keep the original in case everything goes wrong :-).

I see it.
But before dracut days I was able to:
1. extract the archive
2. remove module.ko file from /lib
3. remove from init file the line "insmod module.ko"
4. re-create archive

Now the "init" file inside initrd seems to be systemd and so I'm not
sure if only removing qla2xxx.ko is ok or not.


More information about the users mailing list