Visit Our UNIX and Linux User Community


I Want To Automount My Hard Drive!!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers I Want To Automount My Hard Drive!!!
# 1  
Old 11-05-2002
I Want To Automount My Hard Drive!!!

Smilie 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.Smilie

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  
Old 11-05-2002
Make a directory like /win and then you'll want something like this in your fstab:

/dev/hdb1 /win msdos rw 0 0
# 3  
Old 11-05-2002
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
The file system type should be vfat and not msdos, right?
# 5  
Old 11-05-2002
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
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.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #128
Difficulty: Easy
Generally speaking, most of the software included in a Linux distro is free and open source.
True or False?

9 More Discussions You Might Find Interesting

1. Red Hat

Hard drive formating

Im trying to install a fresh version of Fedora 17. I keep getting formating errors when trying to reformat the hard drive. I recieve errors as well I I try to use the entire disk for the install instead of creat new partitions from scratch. I even tried fromatting the disk using PartedMagic and... (7 Replies)
Discussion started by: Fingerz
7 Replies

2. UNIX for Dummies Questions & Answers

unable to automount a cifs drive in linux

Hi I am using SUSE 11 linux I have couple of "nfs" entries in /etc/fstab which are automatically loaded after system restart. One of the entry is windows drive mounted using cifs as shown below //IP-Address/Partition /mnt/x cifs credentials=/creds/.creds,rw,uid=<name> 0 0 I want to... (1 Reply)
Discussion started by: rakeshkumar
1 Replies

3. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

4. Ubuntu

Accessing all of the hard drive...

Hi, I just downloaded and installed Ubuntu yesterday. It's the first time I have used it, so bear with me. I think I figured out how to get my sound drivers to work (X-Fi)... I had downloaded some OSS drivers, bout to go test them. But what I really want to know is... I have 2 hard drive,... (2 Replies)
Discussion started by: blind melon
2 Replies

5. Solaris

Using the rest of my hard drive

Hi When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare? format shows:- -bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63> ... (12 Replies)
Discussion started by: hellotommy
12 Replies

6. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

7. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

8. UNIX for Advanced & Expert Users

reading the hard drive

I have suns machine that holds two hard drives. I only used one. I tryed to make a lan network with my windows xp. When I tryed to restart the machine it wanted to a password. when before I just typed root to log in. So i edited the etc dir. big mistake. So now the machine will not read the hard... (2 Replies)
Discussion started by: victbla
2 Replies

9. UNIX for Dummies Questions & Answers

Does automount have an advantage over hard mount?

? (1 Reply)
Discussion started by: 98_1LE
1 Replies

Featured Tech Videos