Forum Home
Press F1
 
Thread ID: 53553 2005-01-20 23:00:00 Problems with USB pen and Fedora lilloraffa (6941) Press F1
Post ID Timestamp Content User
316217 2005-01-20 23:00:00 hi all,
i'm a new linux user, so (as you could imagine) i've various little problems with configuring my system.
One of these is: how to install a usb pen?
I've just tried to do:
mkdir /mnt/usbpen

"vi /etc/fstab

/dev/sda1 /mnt/usbpen vfat noauto,user,async,rw 0 0

mount /mnt/usbpen"

but what I obtain is that it can't read sda1 blocks.
How can I do?

Thanks to the comunity
lilloraffa
lilloraffa (6941)
316218 2005-01-21 00:29:00 I haven't got Fedora running at the moment but have a look through this thread (pressf1.pcworld.co.nz) and see if following those suggestions gets you somewhere.

Let us know how you get on.
FoxyMX (5)
316219 2005-01-21 00:38:00 Hi lilloraffa, welcome to PressF1.

Vi... Good on you for going all the way as a Linux user ;)

try:
cat /proc/partitions
It'll tell you if its registered it.

Otherwise, type:
dmesg

it takes about 2 seconds after you've plugged it in to register it in dmesg (system messages).

Are you mounting it as a user or as root? You may want to change:
noauto,user,async,rw
to:
umask=000,users

Mind giving us the _exact_ error?

Cheers


Chill.
Chilling_Silence (9)
316220 2005-01-21 00:46:00 thanks very, you're so kind!
well this is the error:
impossible to read the superblock (or something like that: i'm italian, and i don't know the exact translation of the error).

i think what i've wrote in fstab may halp to find the error:
/dev/sda1 /mnt/usbpen vfat umask=0022,user,ro 0 0

thanks again
lilloraffa
lilloraffa (6941)
316221 2005-01-21 00:49:00 Eureka!
it was so simple that...
I used hda insead of hda1 and it works!
Thanks for helping me!
see you soon
lilloraffa
lilloraffa (6941)
316222 2005-01-21 00:51:00 Try this command:
mount /dev/sda1 /mnt/usbpen -t vfat


Chill.
Chilling_Silence (9)
316223 2005-01-21 00:55:00 hda? You mean sda? If it was a hard drive it might be hda, but being a thumbdrive it _should_ definately by sda ;) Chilling_Silence (9)
316224 2005-01-21 01:07:00 A lot of those USB drives have a weird quasi partition/file system on them that doesn't work too well under Linux. My DSE one had to be repartitioned and formatted before I could mount it. ninja (1671)
316225 2005-01-21 01:14:00 oh scuse me. Yes sure, sda. lilloraffa (6941)
316226 2005-01-21 02:40:00 Some just seem to prefer being mounted as an entire drive rather than partition 1.

Why this is, Im not sure
Chilling_Silence (9)
1 2