Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory monitor motherboard network operating system printer problem ram registry router slow software sound svchost.exe toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
USB drive (pendrive) not mounted automatically

Reply  
Thread Tools
deepestblue's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2007
Location: India
Experience: Intermediate
18-Oct-2007, 11:20 PM #1
Question USB drive (pendrive) not mounted automatically
My Debian Sarge 3.1r0a does not auto-mount a pen-drive. I have hotplugd running. The kernel message at /var/kernel/log shows an entry on plugging the pen drive, but I have to manually mount it using the mount command. After mounting it manually, it works fine. And no issues with other software or hardware components.

Is there any other tool or daemon that is to be installed for auto mounting USB drives?

I had installed the 2.4 kernel first, and later upgraded to the 2.6 version (2.6.8-2-386). Could this be a problem?

Can I have a normal user get the privilege to mount a pen drive? (Because I have to open the terminal, and type 'sudo mount...' to use the pen drive, every time I plug it).
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
19-Oct-2007, 06:30 AM #2
All mounting devices to be root user only.

You can make aUSB pen drive mounted automatically by adding an entry in /etc/fstab. Editing it also requires root privilege.
deepestblue's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2007
Location: India
Experience: Intermediate
19-Oct-2007, 08:12 AM #3
Quote:
Originally Posted by saikee
All mounting devices to be root user only.

You can make aUSB pen drive mounted automatically by adding an entry in /etc/fstab. Editing it also requires root privilege.
Thank you for that tip, but I still cannot auto-mount it... I can't figure out why it's not getting auto-mounted in Sarge, while I've seen it happening in Ubuntu, Mandriva, SuSE etc.
I think I can mount a USB drive as a normal user, if I add this line to fstab:
/dev/sda1 /mnt/usb vfat users 0 0 (thanks to google )

Other than hotplugd, is there any other tool/daemon I should install, to get my thing work out?
Kindly advise...

Last edited by deepestblue; 19-Oct-2007 at 08:30 AM..
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:26 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.