PDA

View Full Version : USB Flash Memory


new_comer
04-06-2007, 06:08 PM
greetings,

Hi all! I've bought a USB Flash Memory Stick which runs well in Window platform but it doesn't work in Linux. Could anyone tell me how can I have it work in Linux (Red Hat) ??


Best regards


New Comer

firepages
04-10-2007, 01:26 AM
what version of redhat ?... not that I know redhat very well but I assumed later versions had usb hotpug detection?

to see if your USB stick has been recognized, at a terminal
# cat /proc/bus/usb/devices

if your device is listed there .. make a directory /mnt/usb
now I am assuming that the device will be at /dev/sda1 or /dev/sda4 , run
# fdisk /dev/sda -l

which should show you the exact partition number ... then (assuming 1 as the partition number)
# mount /dev/sda1 /mnt/usb

you may have to specify the filesystem (# mount -t vfat /dev/sda1 /mnt/usb) type though if mount does not auto detect it then you are probably going to have other issues anyway

new_comer
04-10-2007, 03:51 AM
Greetings,

Many thanks Firepages! My linux distribution is RHL 9. I'll run your solution on my machine. Thanks.


Best regards


New Comer

new_comer
04-10-2007, 04:20 AM
Many thanks Firepages..!

It works..! Many thanks your advices! :thumbsup: :thumbsup: :thumbsup:


Best regards


New Comer

swong7
04-10-2007, 11:38 PM
was wondering the same thing as well, thanks firepages for the detailed instructions