You are not logged in.
Pages: 1
Hi all,
I'm trying to blacklist the "floppy" module, to no avail. I've tried the procedure describe in the wiki: https://wiki.archlinux.org/index.php/Ke … probe.d.2F , but the floppy module is still loaded at each boot.
My modprobe.conf is as follows:
#
# /etc/modprobe.d/modprobe.conf
#
blacklist floppy
install floppy /bin/false
I've tried putting the file in /usr/lib/modprobe.d, but it doesn't work either.
Any insight?
Last edited by lardon (2012-05-27 08:50:13)
Autojump, the fastest way to navigate your filesystem from the command line!
Offline
the reason might be that the module already is loaded from your initramfs, your linked wiki article explains this
Some modules are loaded as part of the initramfs. mkinitcpio -M will print out all autodetected modules: to prevent the initramfs from loading some of those modules, blacklist them in /etc/modprobe.d/modprobe.conf. Running mkinitcpio -v will list all modules pulled in by the various hooks (e.g. filesystem hook, SCSI hook, etc.). Remember to rebuild the initramfs once you have blacklisted the modules and to reboot afterwards.
So rebuild your initramfs.
Greetings
matse
Offline
@lardon
You could have also used the grub alternative to blacklist that module as I do not know how high the "price" of removing the scsi hook is.
\(o_X)/
'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols
Offline
I solved this by blacklisting the floppy module in /etc/modprobe.d/modprobe.conf:
#
# /etc/modprobe.d/modprobe.conf
#
blacklist floppy
And then including modprobe.conf into the CPIO image. In /etc/mkinitcpio.conf:
#
# /etc/mkinitcpio.conf
#
...
FILES="/etc/modprobe.d/modprobe.conf"
...
Then rebuild the initramfs and reboot:
# mkinitcpio -p linux
# reboot
This seems cleaner and the SCSI hook still runs.
Offline
Pages: 1