Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-07-2013, 04:31 PM   #1
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
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?
Old 08-07-2013, 04:54 PM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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?
Old 08-09-2013, 03:15 AM   #3
Registered: Mar 2006
Distribution: Debian
Posts: 105

Rep: Reputation: 26
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto mount network drives at start up sideburns05 Linux - Newbie 7 08-13-2015 07:31 AM
Auto mount internal drives AGazzaz SUSE / openSUSE 4 04-25-2013 03:03 AM
How to auto mount USB drives in terminal sdfi Debian 2 11-04-2011 09:37 PM
auto mount removable drives mallyooh Slackware 6 05-09-2006 10:39 PM
using autofs to auto mount my usb drives DesertWolf0132 Slackware 8 07-30-2004 11:27 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration