How to remove nouveau from the initramfs on Slackware-current
by xcom from LinuxQuestions.org on (#55HMZ)
Hello everyone,
last weekend reinstalled slackware-current (I messed up the last install) and wanted install the nvidia driver from the nvidia webpage. The only problem is, that I'm not able to completely disable nouveau.
I created the /etc/modprobe.d file named blacklist_nouveau with the content of
Code:blacklist nouveau
options nouveau modeset=0In addition I added the "nomodeset" to the grub cmd and updated the config. There was no modesetting anymore and the nvidia driver installed without a problem. But by accident I discovered the nouveau still is loaded, although you can easily remove it via modprobe -r. I did some research and as far as I understood, you have to rebuild the initramfs (via dracut on RedHat or update-ramfs on Debian/Ubuntu), but I can't manage to get this done under slackware. The mkinitrd doesn't have an option for this, has anyone tried this yet and can give me a hint on that?


last weekend reinstalled slackware-current (I messed up the last install) and wanted install the nvidia driver from the nvidia webpage. The only problem is, that I'm not able to completely disable nouveau.
I created the /etc/modprobe.d file named blacklist_nouveau with the content of
Code:blacklist nouveau
options nouveau modeset=0In addition I added the "nomodeset" to the grub cmd and updated the config. There was no modesetting anymore and the nvidia driver installed without a problem. But by accident I discovered the nouveau still is loaded, although you can easily remove it via modprobe -r. I did some research and as far as I understood, you have to rebuild the initramfs (via dracut on RedHat or update-ramfs on Debian/Ubuntu), but I can't manage to get this done under slackware. The mkinitrd doesn't have an option for this, has anyone tried this yet and can give me a hint on that?