You are not logged in.

#1 2007-01-03 01:12:11

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

How to use USB pen drive?

Hello,

I am new to Arch. Can anybody tell me how to use USB pen drives in Arch?

Thanks for your help,

Anand

Offline

#2 2007-01-03 01:55:45

skale
Member
From: Atlanta, GA
Registered: 2006-08-04
Posts: 146

Re: How to use USB pen drive?

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

#3 2007-01-03 02:25:30

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: How to use USB pen drive?

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

#4 2007-01-03 04:12:48

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: How to use USB pen drive?

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

#5 2007-01-03 07:00:15

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: How to use USB pen drive?

add your user to the storage group.

Offline

#6 2007-01-03 09:35:42

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: How to use USB pen drive?

I did gpasswd -a anand storage.

But even now I get the same error message whenever I plugin the pen drive.

Anand

Offline

#7 2007-01-03 13:56:08

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: How to use USB pen drive?

Did you log out or reboot since then?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#8 2007-01-03 18:30:39

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: How to use USB pen drive?

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

#9 2007-01-03 18:45:05

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: How to use USB pen drive?

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

#10 2007-01-24 21:48:51

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: How to use USB pen drive?

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

#11 2007-01-25 00:33:28

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: How to use USB pen drive?

yes it appears right away in Thunar in xfce4.4 (so i just clic, mount & browse it) smile


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 smile) #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

Board footer

Powered by FluxBB