LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Auto mount drives? (https://www.linuxquestions.org/questions/linux-newbie-8/auto-mount-drives-4175472533/)

stratotak 08-07-2013 03:31 PM

Auto mount drives?
 
So I have Debian with XFCE and I have 2 internal hard drives.I have one partitioned into 2 and have my media stored there. When I try to access them I constantly have to enter root password to mount .How do I set it so It doesnt ask me for password anymore?

Kustom42 08-07-2013 03:54 PM

You will need to add the volume to your /etc/fstab. Make a backup of it first "cp -p /etc/fstab /etc/fstab.bak", then edit it and view the line for your volume that is already auto-mounted. You will need to add a line for your second volume and it will mount on boot.


Check out the steps on towards the bottom of the page on manually adding it to /etc/fstab. Why let a tool do it for you when you could learn how and why it works easily enough?

https://help.ubuntu.com/community/Au...ountPartitions

moo-cow 08-09-2013 02:15 AM

Adding to what Kustom42 wrote: The mount option "user" allows regular users to mount a partition. You can supply the option to the mount command or (preferably) enter it in /etc/fstab.


All times are GMT -5. The time now is 10:12 AM.