LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-22-2005, 11:45 PM   #1
tmoeller
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.

Thanks,
Trevor
 
Old 01-22-2005, 11:49 PM   #2
IBall
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:
Code:
/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
--Ian
 
Old 01-23-2005, 01:49 PM   #3
tmoeller
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Ian,

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:
bootlog.txt
command.com
config.sys
dell (a directory)
dir.lst
io.sys
msdos.sys
seal.exe
seal.ini
upkeep.lst
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,
Trevor
 
Old 02-07-2005, 09:51 PM   #4
tmoeller
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Success!!!

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.
 
  


Reply


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 08:32 AM
USB Key Darkness-Inc Linux - Hardware 3 06-16-2005 11:58 PM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 09:27 AM
USB key jackfigus Linux - Hardware 1 01-13-2005 02:47 PM
USB Key Odd_Bloke Linux - Newbie 6 09-09-2003 02:08 PM


All times are GMT -5. The time now is 11:03 AM.

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