LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-12-2004, 12:16 AM   #1
DoThatPlan
LQ Newbie
 
Registered: Sep 2003
Location: Minnesota
Distribution: Red Hat 9
Posts: 20

Rep: Reputation: 0
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
 
Old 02-12-2004, 12:20 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
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.
 
Old 07-14-2004, 09:21 AM   #3
Kalabew
LQ Newbie
 
Registered: Jul 2003
Location: Midwest
Distribution: SuSE, RedHat, FC2
Posts: 7

Rep: Reputation: 0
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe: command not found sutley Linux - Newbie 3 07-29-2005 06:39 PM
modprobe: command not found tombaaaaa Linux - Newbie 7 07-23-2004 06:46 PM
'modprobe' command not found DeltaXFX Fedora 5 07-09-2004 03:31 PM
modprobe: command not found redhatman Linux - Newbie 5 02-08-2004 11:13 PM
modprobe: command not found....? Tommi Linux - Newbie 3 06-27-2003 07:54 AM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration