4

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
jokerdino
  • 41,320
mike
  • 41

2 Answers2

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.

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).

Lekensteyn
  • 174,277
  • 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 09 '12 at 18:27
  • In other words, what should I type exactly? – mike Jun 09 '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 08:35