The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Add hard drive to SCO 6.0.0 uxlunatick SCO 13 04-18-2008 06:17 AM
The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive sirbijan Filesystems, Disks and Memory 0 04-05-2006 11:19 AM
Trying to copy old hard drive to new hard drive. shorty UNIX for Dummies Questions & Answers 4 01-30-2006 02:47 PM
Removing hard drive pujathakral UNIX for Dummies Questions & Answers 2 05-13-2005 07:58 AM
Does automount have an advantage over hard mount? 98_1LE UNIX for Dummies Questions & Answers 1 03-31-2002 06:44 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-05-2002
Registered User
 

Join Date: Nov 2002
Posts: 3
I Want To Automount My Hard Drive!!!

Im as newbie as they come.......
I just loaded Red Hat 8.0 on my computer. I have a second hard drive that i reformatted with a Fat32 so I could share it with my XP and Linux partions....... I have like 4000 mp3's on it and i would like to get it to auto mount when Linux boots....?
Or i would at least like to be able to mount it in my user login instead of having to log in as root every time....

the whole fstab thing still kinda blows my mind but hopefully ill get it figured out eventually.

my hard drive is /dev/hdb1 so if somone could maybe give me the command line i could use to get this done????

Thank you very much for the help..
It really is appreciated...
Kyle
Forum Sponsor
  #2  
Old 11-05-2002
WIntellect's Avatar
Registered User
 

Join Date: Sep 2002
Location: United Kingdom
Posts: 170
Make a directory like /win and then you'll want something like this in your fstab:

/dev/hdb1 /win msdos rw 0 0
__________________
FreeBSD - Opening computers from closed Windows
  #3  
Old 11-05-2002
Registered User
 

Join Date: Nov 2002
Posts: 3
Well.... the directory im trying to mount it to is /mnt/hdb1 and the hard drive is just used for storage and it doesnt have an OS on it... i have win xp and RH8 on my main drive just partitioned in half... does this make a difference or is the line above what i should still use? (I understand that i would substitute /mnt/hdb1 for /win)

thanks for your help
kyle
  #4  
Old 11-05-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,472
The file system type should be vfat and not msdos, right?
  #5  
Old 11-05-2002
Registered User
 

Join Date: Nov 2002
Posts: 3
so now if i do that will it auto mount on startup or do i still have to do something else beofore it will do that?... what do i have to do to the fstab?

Thanks
kyle
  #6  
Old 11-05-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,472
You must edit the fstab file and add the appropriate line.

This is nicely described in the man page for mount, so if you execute the
command:

Code:
man mount
and print or read this man page you will have a nice description of how to set up your fstab file.
Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0