DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed Lenny today and well...for some strange reason in Gnome my external USB hard drive is not auto mounting as it normally would in Debian in the past.
After I plug it in and wait ample time for Nautilus to pop up, I decide to check "dmesg"
Code:
SCSI device sdd: 234441648 512-byte hdwr sectors (120034 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 14 00 00
sdd: assuming drive cache: write through
SCSI device sdd: 234441648 512-byte hdwr sectors (120034 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 14 00 00
sdd: assuming drive cache: write through
sdd: sdd1
sd 7:0:0:0: Attached scsi disk sdd
So it recognizes the USB drive and I also checked Gnome > System > Preferences > Removable Drives & Media.
It is set to auto mount this when detected so I am clueless as to why it is not doing it now. Just for fun I decided to see if I can manually mount this drive which is formated as EXT3.
Code:
tunafish:/media# ls -l
total 8
lrwxrwxrwx 1 root root 6 2007-08-21 19:41 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2007-08-21 19:41 cdrom0
drwxr-xr-x 2 root root 4096 2007-08-22 17:44 usb
tunafish:/media# mount /dev/sdd1 /media/usb/
mount: you must specify the filesystem type
With the drive plugged in, run the following command and post the output.
Code:
mount
Code:
carlos@tunafish:~$ mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /home type ext3 (rw)
*solved* Debian Lenny Gnome hotplug USB devices successful
Thanks to cgjones and amishtechie, my USB devices, including my Palm Z22, are successfully auto-mounting following one of the following commands (I'm not sure which one!), or all of them in concert:
Code:
apt-get install hal
apt-get install usbmount
apt-get install gnome-volume-manager
Looks like I spoke too soon. The USB devices (plus my Windows partition, which is written into fstab) are recognized by the system (confirmed by dmesg) and appear in "Computer", but are not mounted until I open System>Preferences>Removable Drives and Media. I don't have to adjust anything in the applet, just open it. Every session. Isn't that strange? I'm going to start a new thread to try to find the answer to this.
I don't have nothing but /, swap & dvd drive listed in my fstab and everytime I load my usb external hard drive, I see it using a filemanager. If I click on it, it opens a window to display the contents.
I'm using openbox wm, so I guess that is why no icon pops up on the desktop, there aren't any icons on desktop.
I believe gnome-volume-manager is giving it access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.