LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Help with automount please (https://www.linuxquestions.org/questions/fedora-35/help-with-automount-please-190446/)

jihadcman 06-06-2004 05:34 PM

Help with automount please
 
How do i configure my computer to automatically mount a drive on my computer? mount -t ntfs /dev/hda /windows is what i do from term in order to mount it, but i'm sick of it and would like this to happen automatically.

Help would be appreciated,
-J

Boby 06-06-2004 06:24 PM

hello

first you have to create a directory in /mnt where you will mount youre partition. we will name it "winpartition".

su get root privileges
mkdir /mnt/winpartion creates the directory

fdisk -l /dev/hda this will give you all partitions on drive hda
now you'll have to look for the windows partition, in this example we'll use "hda1"

edit youre "/etc/fstab" with joe /etc/fstaband add this line:
/dev/hda1 /mnt/winpartition ntfs defauls 0 0

you have to change maybe the partition from hda1 to the one that you use.
now youre windows partition is mounted in /mnt/winpartition

hope this helped!

cheers, boby

jihadcman 06-06-2004 06:32 PM

Thanks, @ this rate I may actually become competent with this linux deal.

-J


All times are GMT -5. The time now is 11:44 PM.