Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.