Skip kernel module at boot

Disabling specific modules is possible from boot loader, but looks like distro-dependent indeed.

On one hand, Linux Kernel Parameters documentations states, as of August 2016:

module_blacklist= [KNL] Do not load a comma-separated list of modules. Useful for debugging problem modules.

On the other hand, the option that worked for me with openSUSE 42.1 (Linux 4.1.31) is described in Arch Kernel modules wiki:

You can also blacklist modules from the bootloader. Simply add

modprobe.blacklist=modname1,modname2,modname3

to your bootloader's kernel line, as described in Kernel parameters. When you are blacklisting more than one module, note that they are separated by commas only. Spaces or anything else might presumably break the syntax.

(Thanks to @gertvdijk at unix.SE for pointing this out.)

Also worth to mention is the following method:

In order the prevent certain modules from being loaded by the kernel using the grub command line you need to pass them as a parameter to the kernel line using the below syntax.

$module_name.blacklist=yes

I have no idea where did they get that from, but it will definitely not hurt to try any other method if all else fails.


You should be able to either add it to /etc/modprobe.d/blacklist, or blacklist 'modulename'