Auto mount a hard drive?

benzylic

Golden Member
Jun 12, 2006
1,547
1
0
In my sytem I have 2 hard drives. The master is the Ubuntu drive. The slave is divided into 2 partitions. The main big one having windows on it, and the second partition having all my music on it. The problem is any time the PC is restarted or turned off, the 2nd hard drive is automatically mounted, and I have to go enter the admin password and mount drive any time
I want to play my music.

My question is: Is there anyway to auto-mount that partition or hard drive after a restart or shutdown? I have Ubuntu Feisty Fawn for the record.

Thanks
 

SSP

Lifer
Oct 11, 1999
17,727
0
0
Yes, you can do that by editing /etc/fstab

You can choose how it is mounted by going HERE. After doing that if you cant access the mounted partition due to permission you can use "uid=your username" under the option column (without the quotes). There are other ways im sure but this is what worked for me.