Automount Harddrive
Hi everyone,
Im using redhat 7.3 and my question is how do u automatically mount a harddrive upon boot up? I have a 2nd harddrive that has data (hdb5) and everytime my linux box boots up..i have to type in "mount /dev/hdb5 /mnt/hdb" to access it. Can i edit the fstab file or something so that upon booting up my linux box it will mount that partition without me having to do it manually each time? Thanx for all the help and advice :) -twantrd |
Yes the /etc/fstab file is the one you would want to edit and add the new parition or hard drive in to have it mount at boot time.
|
Hmm ok, but what should the line say? SHould it look like this:
/dev/hdb5 /mnt/hdb ext3 defaults 1 2 ?? THanx for your help -twantrd |
Well, to be a bit more helpful, I'd say check out man mount, this will give you more than your hearts desire, and mine as well :)
But to give you a quick example: /dev/hdb5 /mnt/hdb ext3 auto,users,rw 1 2 Should be one option that "should" work. Cool |
How can i automount so that i can automatically be able to write in user mode??
|
Hi twantrd
It's a bit tricky with RH7.3. You have to add ',umask=000' after the mount-options (e.g. 'defaults') to get write access as normal user. Make sure you don't enter a blank after the comma! Your resulting line should look something like: /dev/hda6 /mnt/daten vfat defaults,umask=000 0 0 I hope I could help. Stefan |
Quote:
|
THanx for all the help guys!! I'll try that soon.....
-twantrd |
Quote:
Cool |
Quote:
i installed the rpm from http://linux-ntfs.sourceforge.net/info/redhat.html i add this to fstab /dev/hda1 /mnt/share ntfs defaults,umask=000 0 0 /dev/sdb1 /mnt/scsi vfat defaults,umask=000 0 0 both user and root cannot write to ntfs:( how to fix it? only can write to fat:Pengy: |
you should NOT enable write-support on ntfs drive or it will screw up!!!
|
Quote:
|
because M$ never released enough info about NTFS, so the driver is still not perfected. It might take some time before you are fully able to write to an NTFS partition.
|
Well, you CAN is the thing, if you really don't care, and just want to jack up a drive trying, or something along those lines (supposedly can ruin the hardware as well, not just corrupt the files) then you can give it a try.
From the page where you linked us: Quote:
Cool |
All times are GMT -5. The time now is 10:08 PM. |