Blacklist Module

Chester Wyke August 19, 2022 Updated: April 15, 2025 #debian

Source: https://superuser.com/questions/575887/how-to-disable-device-in-linux-debian-wheezy

In all commands replace <modulename> with the actual module name

  1. Create a file
sudo nano /etc/modprobe.d/<modulename>.conf

containing the following

blacklist <modulename>
  1. Run
sudo depmod -ae
  1. Recreate your initrd
update-initramfs -u