SlackwareThis Forum is for the discussion of Slackware 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.
I've been fighting with Slackware 13, Hal, flash drive and VirtualBox and I've managed to get totally lost.
I added myself to the plugdev group; when I plug a flash drive into a USB port, Hal seems to see it (damned if I can figure out where the the thing is though) because it pops up a little window that shows it. What I really want to do is copy files on and off the thing to transfer them to XP running in VirtualBox (XP does not see the drive and do its "new hardware" song and dance) -- mostly I'd just be happy if I could figure out how to access the blasted thing from my account and I'll deal with VirtualBox later.
Could some kind soul tell me what the heck I have to do to get a flash drive mounted so I can read and write to it, please (and what other groups do ordinary users need to belong to so stuff will work)?
Have you tried plugging the flash drive in while logged in as root? If that works, it's a permission problem, if not it's something deeper.
If I plug my sony ericsson w902 in as a mass storage, it won't get mounted for some reason. I haven't figured it out yet, I only noticed the CPU wait goes extremely high. Maybe we have a quirk in the kernel. Or a device for that matter... Regular USB card reader seems to be working fine.
The version I have is the "closed-source binary" one; i.e., VirtualBox-3.0.6-52128-Linux_x86.run. The GUI shows USB devices and can read the specifications from the flash drive (so I think -- think! -- I've got the right version).
I think the problem is that "I" can't mount the flash drive with or without have VirtualBox running (root, of course, can and does); I plug it in, Hal sees it but I can't see any content on it, just ain't there, and no amount of searching, reading manual pages, cussing and throwing things against the wall has found the simple, elegant magic trick to allow an ordinary user to read and write a flash drive (and reading the Changes and Hints document hasn't helped either -- that stuff about not putting entries in /etc/fstab and fiddling with su bits [whatsu bit, dangit!). Tiz a puzzlement.
Thank you for the above -- I'm going to try it and, if it works, hey, a kludge that works is always better than fighting to the death with some blasted thing that ought to just work by default.
[I plug it in, Hal sees it but I can't see any content on it,...
When you plug the flash drive and the "little window" (Device Notifier) pops up, all you should need to do is play your mouse cursor over the device in the Device Notifier and it should display "Open with Dolphin". Click with the mouse and your device should be automounted and a Dolphin window opened. Do you see this behaviour?
To unmount, you should be able just to click the arrow against the device in the Device Notifier that can be brought up just by playing your mouse cursor over the icon in the panel.
Uh, yeah -- yesterday, no, today (after my normal Sunday-morning reboot), yes. Yesterday, Dolphin opened with the content of my home directory (no matter what I did), after this morning's reboot, it shows the content of the flash drive -- magical mystical tour, that.
And the relevant lines from mount show up as
Code:
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,utf8,shortname=mixed)
Magic!
OK, so now it's off to see if I can get VirtualBox and XP to see the thing...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.