The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 09: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 02:19 PM
Trying to copy old hard drive to new hard drive. shorty UNIX for Dummies Questions & Answers 4 01-30-2006 05:47 PM
Removing hard drive pujathakral UNIX for Dummies Questions & Answers 2 05-13-2005 10:58 AM
Does automount have an advantage over hard mount? 98_1LE UNIX for Dummies Questions & Answers 1 03-31-2002 09:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-05-2002
mynameiskyle mynameiskyle is offline
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
  #2 (permalink)  
Old 11-05-2002
WIntellect's Avatar
WIntellect WIntellect is offline
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
  #3 (permalink)  
Old 11-05-2002
mynameiskyle mynameiskyle is offline
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 (permalink)  
Old 11-05-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,668
The file system type should be vfat and not msdos, right?
  #5 (permalink)  
Old 11-05-2002
mynameiskyle mynameiskyle is offline
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 (permalink)  
Old 11-05-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,668
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.
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0