I know that I can blacklist a module in /etc/modprobe.conf
or /etc/modprobe.d/blacklist
, but I have a nasty module which loads before the filesystems are mounted (except /boot of course), so I assume, /etc
will not yet be read by then.
Can I prevent a module from loading using a kernel boot parameter?
(I'm using GRUB)
Or are there other ways to do this?
Thank you!