LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-16-2004, 10:15 PM   #1
darazman
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9.1
Posts: 29

Rep: Reputation: 15
Mount a second Hard drive


Hello,
I can mount a second drive with "mount /dev/hdb1 /path" but when i reboot i have to manually go run that command again. Now i only reboot the box about once every 3 weeks cuz of changing hardware but I'd like to know what to edit to not have to do this everytime,
Thanks people
 
Old 03-16-2004, 10:50 PM   #2
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
You can add a hard drive device to your desktop.
Noah
 
Old 03-16-2004, 10:56 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
Re: Mount a second Hard drive

edit /etc/fstab:

/dev/hdb1 /path ext3 auto,user,umask=022 0 0


replace ext3 with filesystem type. man fstab to see other options.
 
Old 03-16-2004, 10:58 PM   #4
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
making a hard drive device icon will make mounting "easier" by allowing you to right click and then choose mount but if you want it to happen every time you boot up just add it to /etc/fstab.
 
Old 03-17-2004, 06:50 AM   #5
darazman
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9.1
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks People! +)
 
  


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
Can't mount hard drive. Alvis Linux - Hardware 4 07-25-2005 01:31 PM
how do you mount a hard drive? blackdragon Linux - Newbie 2 07-22-2005 10:28 AM
Where to mount second hard drive Harimwakairi Linux - Newbie 3 08-11-2003 04:29 PM
can't mount new hard drive yanban Linux - Hardware 5 07-19-2003 05:09 AM
How to mount a hard drive ed1023 Linux - General 1 08-31-2002 10:04 PM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
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