Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-04-2011, 05:29 PM   #1
Registered: Oct 2011
Distribution: debian
Posts: 107

Rep: Reputation: Disabled
How to auto mount USB drives in terminal

I would like to auto mount any USB drives plugged in in the command line/ non-x environment.

eg first usb device (/dev/sda1) mounts as /mnt/usb0, second as /mnt/usb1, etc etc.
Old 11-04-2011, 07:14 PM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001

See here -


Old 11-04-2011, 08:37 PM   #3
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
Ok.. i'm having an issue with apt-get returning
The package lists or status file could not be parsed or opened.
I'm running that as root. I'm pretty sure it will be a missing module; but how do i diagnose which one??


automount, terminal, usb

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
Using OpenSuSE do I auto-mount my two optical drives? cbjhawks SUSE / openSUSE 1 03-21-2011 08:21 AM
How to auto mount usb drives as a normal user basheer Slackware 3 10-24-2009 10:26 PM
USB pen drives not auto prompting or auto mounting on KDE3.5 (PCLOS) k.king Linux - General 1 03-17-2009 03:16 PM
auto mount removable drives mallyooh Slackware 6 05-09-2006 09:39 PM
using autofs to auto mount my usb drives DesertWolf0132 Slackware 8 07-30-2004 10:27 AM

All times are GMT -5. The time now is 07:33 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