Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2005, 10:45 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Need help with USB key

I am having problems mounting a 1Gb Lexar Sport USB key on my Dell workstation running RedHat Enterprise Linux, Version 3. The USB key has FAT formatting. I have tried to mount the device using:
mount -tvfat -oumask=0000 /dev/sda1 /mnt/usbkey
Note that the /mnt/usbkey directory was created prior to mounting the device. The mount command executed without any errors. I copied a text file to the usb key but my windows machine did not see it. I was also unable to read text files saved from my Windows machine with my Linux machine. I have searched for recent threads on this topic but did not see any good matches. I will be very grateful for any help that can be provided.

Old 01-22-2005, 10:49 PM   #2
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Welcome to LQ!

Did you unmount the drive after you copied the file to it?

Try adding the following line to your /etc/fstab:
/dev/sda1    /mnt/usbkey    vfat    rw,suid,dev,noexec,noauto,user,async 1 2
Then you can mount the drive using "mount /mnt/usbkey"

I hope this helps
Old 01-23-2005, 12:49 PM   #3
LQ Newbie
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0

Thanks for your reply. I added the following line to my /etc/fstab.
/dev/sda1 /mnt/usbkey vfat rw,suid,dev,noexec,noauto,user,async 1 2
I then mounted the usbkey using "mount /mnt/usbkey". The directory list on the device was:
dell (a directory)
I do not know how these files were copied to my usbkey. Next, I used "cp" to copy a text file (test.f) to the usbkey and unmounted the key using "umount /mnt/usbkey". I removed the usbkey and plugged it into my Windows machine. Windows recognized the usbkey, but no files could be seen on the device. I then copied a text file from my Windows machine onto the usbkey. I removed the usbkey from the Windows machine and connected it to the Linux machine. I mounted the usbkey but only saw the files listed above (along with test.f). I have read that a usbkey could be used to transfer text files between Linux and Windows machines, so it appears that I still have a problem.

Thanks again for your help,
Old 02-07-2005, 08:51 PM   #4
LQ Newbie
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0

I changed my fstab entry to read:

/dev/sdb1 /mnt/usbkey vfat rw,suid,dev,noexec,noauto,user,async 1 2

I am now able to read the files on the usbkey.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
USB Key Darkness-Inc Linux - Hardware 3 06-16-2005 10:58 PM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM
USB key jackfigus Linux - Hardware 1 01-13-2005 01:47 PM
USB Key Odd_Bloke Linux - Newbie 6 09-09-2003 01:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration