You are not logged in.

#1 2007-06-15 21:53:29

justin
Member
From: Philadelphia
Registered: 2007-04-18
Posts: 132

Auto Mounting USB Hard Drive Under Gnome

I am trying to mount my usb hard drive similar to the way it is done under Ubuntu linux. In gnome, I would have my hd appear as an icon on my Gnome desktop labeled "disk". The hard drive would be mounted to /media/disk. In Arch, I have gotten it to mount using the /etc/fstab file, but I don't get the very convenient icon on my desktop. Also, It doesn't seem as automated as it did under Ubuntu. Any suggestions for getting this to work similar?

It's obvious some sort of service/daemon, since when I installed Ubuntu, I didn't have the disk plugged in, and after the install, it immediately recognized it and mounted it as I described.

Offline

#2 2007-06-15 21:56:32

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Auto Mounting USB Hard Drive Under Gnome

I believe you need to have dbus and hal enabled as daemons...

Oh yeah, and as root you should add your regular user account to the storage group, e.g.:

# gpasswd -a justin storage

GNOME should take care of the rest, including that nifty little desktop icon.

Last edited by thayer.w (2007-06-15 21:57:46)


thayer williams ~ cinderwick.ca

Offline

#3 2007-06-15 22:16:34

justin
Member
From: Philadelphia
Registered: 2007-04-18
Posts: 132

Re: Auto Mounting USB Hard Drive Under Gnome

That worked somewhat, I know have TWO icons on my desktop labeled "232.9 GB Volume" on my desktop. I commented out my line in /etc/fstab, so I'm not sure why there's two icons.

Offline

#4 2007-06-15 23:08:48

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Auto Mounting USB Hard Drive Under Gnome

Hrmm, that has happened to me now and again with other distros.. I think I usually just unmount the drive once (you'll get an error if you try to unmount/remove the 2nd leftover icon) and then reboot.  It seems to fix itself. 

Another possible cause could be if you renamed the mount point under the Properties -> Volume tab.  Whenever I rename the mount point, I immediately unmount/remount the device to avoid any zombie effects.

Hope this helps.

Last edited by thayer.w (2007-06-15 23:09:39)


thayer williams ~ cinderwick.ca

Offline

#5 2007-06-15 23:32:53

justin
Member
From: Philadelphia
Registered: 2007-04-18
Posts: 132

Re: Auto Mounting USB Hard Drive Under Gnome

Now I have a new problem. After rebooting, the volume no longer mounted at all. Here's a screenshot if this helps:

hd.png

Edit: Before rebooting, I played with the volumes properties, and changed the mount point to /media/disk, maybe this may be the cause?

Last edited by justin (2007-06-16 00:37:10)

Offline

#6 2007-06-16 04:41:07

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Auto Mounting USB Hard Drive Under Gnome

That's definitely the cause... the mount point is relative to /media, so just use "disk" in the Mount Point field and it will automatically mount to /media/disk.

Last edited by thayer.w (2007-06-16 04:41:50)


thayer williams ~ cinderwick.ca

Offline

#7 2007-06-16 05:21:45

justin
Member
From: Philadelphia
Registered: 2007-04-18
Posts: 132

Re: Auto Mounting USB Hard Drive Under Gnome

Everything is working great now, thanks.

Last edited by justin (2007-06-17 06:14:37)

Offline

Board footer

Powered by FluxBB