You are not logged in.
Pages: 1
Hello,
I am new to Arch. Can anybody tell me how to use USB pen drives in Arch?
Thanks for your help,
Anand
Offline
1. Plug it in.
2. run as root `mount -t vfat /dev/sda1 /mnt/<whatever>`
If you already plugged in another one you might have to use sdb instead of sda.
Offline
you might want to create an fstab entry for it:
/dev/sdc1 /mnt/flash auto noauto,rw,users,umask=0000 0 0
the umask line means take away from the permisions starting at 0777 (fat filesytem). So in this case everyone can write to it.
Alternatively you can install and use pmount:
pmount /dev/sdc flash
and it will mount to /media/flash with all permisions. Unmount using pumount.
Offline
Hello,
In Gnome and KDE, when I plugin the USB pen drive, it mounts automatically in /media/disk when I am root. I have dbus and hal daemons running. I am also able to unmount the device as root.
But as a normal user when I plugin, I get the following error message:
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
What should I do so that I am able to use the pen drive as a normal user in read/write mode in XFCE, Gnome, and KDE.
Anand
Offline
add your user to the storage group.
Offline
I did gpasswd -a anand storage.
But even now I get the same error message whenever I plugin the pen drive.
Anand
Offline
Did you log out or reboot since then?
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
Thanks Snarkout! Now it is working in Gnome and KDE after I rebooted the machine. But how to make it work in XFCE?
Anand
Offline
I'm unsure if XFCE has hal build into it or not. If it doesn't I don't really know if you'll be able to get it in. I'm sure theres a way you can make a ruleset for the usb controls or something. I'm not very proficient in that kinda thing yet though.
Offline
I've tried everything suggested about HAL in this forum and it still would not mount my usb player. It use to mount with hotplug but since HAL, nothing,
it works fine on Mandriva.
Offline
yes it appears right away in Thunar in xfce4.4 (so i just clic, mount & browse it)
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Pages: 1