LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-08-2003, 02:31 AM   #1
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
mount usb module then mount usb hard drive


Hi all,
I am having problem for the startup sequence. Well, I have the usb hard drive. In order for me to auto mount the usb hard drive, I need to activate my usb module. Each time, I have to wait for Mandrake boot up then go to module and activate it. After that, I just do manual mount usb hard drive. Is that anyway for me to activate the module usb during boot? I know rc.local is that last sequence for me to vi the module for that file. What is the first sequence file for me to put it the module usb? Thank you and have a nice day.

Guan
 
Old 10-08-2003, 11:50 AM   #2
Hans Zarkoff
Member
 
Registered: Apr 2002
Location: Canada
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
There are two possibilities. The first one is more elegant but the second is easier...

Option #1
-------------
You'll have to grep for 'mount -a' in your system init scripts ie. scripts in /etc/rc{0-6}.d. Once found, insert the 'modprobe usbharddrivedriver' command before it.

Then make sure that there's an entry for it in /etc/fstab. Do a 'man fstab' for more help on that.


Option #2
-------------

At the end of your rc.local file, add the following:
modprobe usbharddrivedriver
mount -t fstype /dev/hdd /mnt

Replace hdd and /mnt with whatever is necessary.
 
  


Reply



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
How to mount usb hard drive NalinA Linux - Newbie 1 10-26-2005 10:07 PM
usb mount hard drive rpetrenko SUSE / openSUSE 2 10-07-2005 12:49 AM
I can mount a usb hard drive fiacobelli Linux - Hardware 3 07-06-2005 01:52 PM
USB hard drive, how do I mount it? Oxyacetylene Debian 11 10-24-2004 06:00 PM
How do I mount an USB hard Drive? nandy70 Linux - Newbie 1 11-20-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:45 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
Open Source Consulting | Domain Registration