How do I block a kernel module?
Answer
To blacklist a kernel module permanently via GRUB, open the /etc/default/grub file for editing, and
add the modprobe.blacklist=MODULE_NAME option to the GRUB_CMD_LINUX command. Then run the sudo grub2-mkconfig -o /boot/grub2/grub. cfg command to enable the changes.
Answer
To blacklist a kernel module permanently via GRUB, open the /etc/default/grub file for editing, and
add the modprobe.blacklist=MODULE_NAME option to the GRUB_CMD_LINUX command. Then run the sudo grub2-mkconfig -o /boot/grub2/grub. cfg command to enable the changes.