LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i automatically mount partitions when system starts (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-automatically-mount-partitions-when-system-starts-174305/)

coolinuxguy246 04-25-2004 03:42 AM

how do i automatically mount partitions when system starts
 
i am running a fedora system and every time i want to access my windows files i have to go into the command line and mount the windoze partition.
im sure that there is a way for this to be done automatically when the system boots.
how do i do this

Andrew Benton 04-25-2004 03:53 AM

Edit /etc/fstab and put a line something life this
/dev/hda1 /mnt/windows ntfs ,ro,umask=0 0 0
If it's not on hda1 then chnge that. If it's vfat not ntfs then it doesn't need to be ro

melinda_sayang 04-25-2004 03:53 AM

First..... Search. There are a lot of threads like this.

Edit /etc/rc.d/rc.local
add this line...
mount /dev/hda1 /mnt/billGates

The expert way would be editing /etc/fstab......

miner 04-25-2004 09:38 AM

here is the line i added to /etc/fstab to mount my fat32 partition with full read/write permissions for a user not logged in as root.

/dev/hda5 /mnt/window/F vfat umask=000,noexec,auto,user,gid=users 0 0


All times are GMT -5. The time now is 05:03 AM.