Excluding kernel modules through /etc/modprobe.d/blacklist.conf does not work

15,307

You can find the answer in the wiki: the idea is that one does not use /etc/modprobe.d/blacklist.conf. Instead, say you want to blacklist pcspkr. You create a pcspkr.conf file in /etc/modprobe.d and put blacklist pcspkr inside. Then run

depmod -ae && update-initramfs -u
Share:
15,307

Related videos on Youtube

JohnnyFromBF
Author by

JohnnyFromBF

Updated on September 18, 2022

Comments

  • JohnnyFromBF
    JohnnyFromBF over 1 year

    I don't want to load the kernel module nouveau on my debian box at startup, so I put the following in /etc/modprobe.d/blacklist.conf:

    blacklist ttm
    blacklist drm
    blacklist nouveau
    

    I even did a update-initramfs -u but nonetheless those three modules get loaded each time I boot.

    Does anyone know why and how to fix this.