3

Is it possible to edit the Blacklist.conf file when running Linux off a Live CD? If so, how do you edit it?

I tried typing this into the terminal but nothing happened:

gksudo gedit /etc/modprobe.d/blacklist.conf
1

First you would need to have the files for the system you want to edit mounted.

Look in the left panel for the file system in pcmanfm (the file manager) and click on it - it will look 'similar' to this

enter image description here

You can see that I have mounted my 12.10 partition

Check what the path is called for you - could be /media/long UUID reference and then run

gksudo leafpad /media/longUUIDreference/etc/modprobe.d/blacklist.conf

from a terminal.

  • what if it isn't mounted? How would I mount it? – mike Jun 9 '12 at 18:31
  • Click on that drive in pcmanfm - it should be in the left panel, my 12.10 wasn't mounted until I clicked on it. – 23 93 26 35 19 57 3 89 Jun 9 '12 at 18:43
0

If you'd like to prevent a certain module from loading at boot time ("blacklisting"), you could append the boot option modprobe.blacklist=<module-name>. E.g., to prevent nouveau from loading, you'd use modprobe.blacklist=nouveau.

To do so on an installation, see How do I add a kernel boot parameter?. For a Live CD/USB, see How to input commands on the Live CD mode selection screen (I believe that you need to press a different key first in newer versions, e.g. Space).

  • well what I am trying to do is get my wireless network to work and someone told me to add the following to the blacklist.conf file: "blacklist padlock_aes" and "blacklist geode_aes" So would I be able to do that? – mike Jun 9 '12 at 18:27
  • In other words, what should I type exactly? – mike Jun 9 '12 at 18:34
  • Try modprobe.blacklist=padlock_aes,geode_aes (actually, it should not matter whether you use padlock_aes or padlock-aes as name). – Lekensteyn Jun 10 '12 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.