LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Modprobe command not found (https://www.linuxquestions.org/questions/linux-software-2/modprobe-command-not-found-145088/)

DoThatPlan 02-11-2004 11:16 PM

Modprobe command not found
 
Hello everyone,

I am trying to create a mount point for a USB flash drive following the directions posted at:

http://www.extremetech.com/article2/...1256701,00.asp

One of the things I need to use is modprobe, however when I try to execute that command it says command not found. I am guessing that I dont have it included in my PATH variable:

"PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.2_01/bin:."

Can someone help me out here?

Thanks

jtshaw 02-11-2004 11:20 PM

modprobe should be in /sbin/, which should be in the root users path. You have to be root to load a module into the kernel. If it isn't in /sbin you can use the locate command (locate modprobe) or the find command (find . -name "modprobe") to find it. Just so you know, locate uses a database it builds to do it's searching, find actually searches the file system. So locate is usually much faster, but often not as up to date since your machine probably only updates the locate database one a day if that.

Kalabew 07-14-2004 08:21 AM

You could log in within bash as 'su' and type /sbin/modprobe <module_name> for each module. A slightly better way would be to log in as 'su -' and then you'd only have to type modprobe <module_name>. Just remember to 'exit' when you're done... :D


All times are GMT -5. The time now is 03:04 PM.