Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How to blacklist kernel modules?

I compiled Ndiswrapper from source. Then installed a wireless windows driver. After that I loaded the Ndiswrapper kernel-module with sudo modprobe ndiswrapper. Now my system stops during boot.

How can I unload the Ndiswrapper kernel-module?

share|improve this question
    
Does your systems completely stop at boot? Can you go to the recovery mode? –  Anwar Shah Sep 26 '12 at 15:52
    
@Anwar I tried recovery mode, but it stops too. –  BuZZ-dEE Sep 26 '12 at 15:58
1  
Check this answer to disable ndiswrapper module temporarily and see the above link to disable it permanently once you get into the system –  Anwar Shah Sep 26 '12 at 16:01
    
@Anwar thx adding ndiswrapper.blacklist=yes as boot parameter solved my problem, but it's not necessary to do that permanently. My intention was, how can I do that before boot. On a running system I know how to blacklist a kernel-modul. –  BuZZ-dEE Sep 26 '12 at 17:16
add comment

marked as duplicate by Anwar Shah, Mik, January, hexafraction, Mitch Sep 26 '12 at 19:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

You can boot using a Live USB and modify the /etc/modprobe.d/blacklist.conf file.

Just add the module you don't want to load, e.g.

blacklist ieee1394
blacklist ohci1394
blacklist eth1394
blacklist sbp2

You can also blacklist modules from the bootloader.

Simply add modprobe.blacklist=modname1,modname2,modname3 to your bootloader's kernel-line parameter list.

For information on how to edit the boot parameters, go here: How do I add a boot parameter?.

share|improve this answer
    
Instead of ndiswrapper.blacklist=yes, I could also use modprobe.blacklist=ndiswrapper? –  BuZZ-dEE Sep 26 '12 at 17:19
1  
yes, you can use it. –  green7 Sep 26 '12 at 17:20
add comment

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