how do I auto-mount a drive at boot
I installed Linux then a couple days later added another harddrive. As things are currently I have to mount the drive after I boot and log in. How do I make the drive mount at boot like my cd-rom?
|
you have to add an entry into the /etc/fstab file.
|
Okay.....
So what do I type? |
i don't know because for 1 i have no idea what device you want to add, number 2 i dont' know what kind of permissions you want set, and number 3 i don't know where your mount point is and finally 4, i dont' know what kind of filesystem it is...
but other than all the things i dont know, you can just follow how other things are typed in that file: for instance if you have a cdrom device you may see something like: /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 it may not be the same but it will be similiar to that so by looking at it you see the first column contains the device the second column contains the mount point, the third column contains the filesystem type, and the fourth column contains the options, i am not explaining the last 2 numbers but just for a secondary you can leave these at 0 0 .... thats all i can really tell ya cause as i said i have no information about the drive, so if you still can't follow these steps, then if you want you can post the answers to the questions i don't know, and either me or someone else can give you the entry you should make, or just post what you think the entry should be and someone can confirm it |
Ok, sorry.
here is my current fstab file: Code:
/dev/hda6 / ext3 defaults 1 1 Answer to 2: I want anyone to be able to access even people on my network Answer to 3: It would be fine if it was mounted as /mnt/hd Answer to 4: It's fat32 Hope that helps you help me! :) |
/dev/hdd1 /mnt/hd vfat default,umask=002 0 0
|
Thanks!
Quote:
|
Just in case :
|
All times are GMT -5. The time now is 03:33 AM. |