You are not logged in.
Within the past few days, automatic mounting of removable media has stopped working. Removable media are not even displayed when I try to manually mount them through a GUI, requiring I do it through command line.
What do I do?
Last edited by Falcata (2009-02-12 15:22:49)
Offline
Try to replace <policy user="0"> with <policy user="YOURUSERNAME"> in the file /etc/dbus-1/system.d/hal.conf
Offline
Offline
Could someone please give me a solution to this? I need to use my flash drive for some work I'm doing, so my ability to finish my work is VERY limited if I can't use it. What devices in /dev would a USB flash drive use? If I have that info, I can just mount it manually.
Offline
just use hal from testing
Give what you have. To someone, it may be better than you dare to think.
Offline
I don't know about that. If it's in testing, that means there might be bugs with it, in which case I'd rather be safe than sorry.
Anyways, I figured out where to mount the device from by running dmesg
Offline
You beat me by a hair. I was going to say that the usb storage device should be at /dev/sdb1--at least that's where mine is and it might help to put that into your /etc/fstab as that is what I had to do once upon a time to get automounting to work. But, nowadays, my automounting just works and I haven't had to change policies or use hal from testing, either.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Well, now I've got a new problem. The device is mounted as read-only, even if I mount it with the "-w" flag. I'll try specifying the USB drive in fstab, but I have a problem with my computer trying to boot from the USB drive if it's inserted at startup, so I'll have to figure that one out.
Offline
Have you seen or tried this: http://bbs.archlinux.org/viewtopic.php?id=64026
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Your USB drive seems broken to me, I've got a stick here with the same problem. I can not automount it, I can mount it, but the write protection is turned on. I doesn't matter if you mount it with -w.
I might be wrong, so don't stop searching. Try putting it into another PC to test if above is realy the problem. (or if it has a switch, turn that over.)
Oh yeah, that the write protection is on, without having a write-protection-switch, could have to do with pulling the stick out when it was still in use.
Offline
I fixed the problem. Turns out hal wasn't starting correctly. Adding dbus to the daemons array in /etc/rc.conf seems to have fixed things.
Offline
That is strange as the wiki says that hal will start dbus so you don't need to put it in the DAEMONS line. But what the heck, if it works, use it. Must be something a little different about your setup.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Okay, this problem still hasn't completely resolved. My USB flash drive keeps mounting as read-only, which greatly limts what I can do with it. I should note that it mounts just fine on my laptop (problems with the USB drive aside)
What do I do to force it to mount with read-write?
Offline
Can you give the 'dmesg | tail' right after you've connected it?
Offline
To find the dev entry for your usb stick do: fdisk -l (as root)
Then run: mount -t vfat -o rw /dev/sdb1 /mnt/usbstick (as root, where /dev/sdb1 is your usb stick; and where vfat is the filesystem)
Finally see if you can read/write to it as root. If that works, you should be able to pass -o uid=youruserid,gid=yourgroupid so you can write/read from the drive, instead of root.
Offline
The problem resolved on its own. I'm not really sure what I did, if anything.
Offline
The solution to this very problem I had was in the HAL Wiki.
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Gah! This problem does not want to stay solved!!! Now, whenever I try to open any removable media or volumes in Dolphin, I get an error message saying:
An error occurred while accessing 'Volume (vfat)', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable no <-- (action, result)
I do not know how to fix this.
Last edited by Falcata (2009-02-12 15:24:43)
Offline
If you put /dev/sdb1 in your /etc/fstab without 'noauto' - no wonder there are upsets ...
If it is _not_ in fstab - try to remember the last things you did that made it all work ...
<edit> spelling mistake </edit>
Last edited by perbh (2009-02-12 17:57:47)
Offline
another policykit issue, I see.
Have a look here. Is one of 1000 solutions for the same problem.
http://bbs.archlinux.org/viewtopic.php?id=65070
They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.
Offline