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 a total newbie in Linux related issues.
My current distribution is Fedora 2. That's all I know but it should be quite recent.
I currently have some files that need to run on Octave from a USB Pen Drive. However, I can't access the Pen Drive because Fedora can't detect it like WinXP. (i.e as USB Mass Storage).
Can anyone help me in how to install a driver or the methods in accessing the files in the USB Pen Drive via Fedora 2?
Plug it in and see what the last few lines of $dmesg output.
If its detected, make a mount point and mount it:
I.E. (should be listed as sda1 I believe)
/dev/sda1 /mnt/thumb vfat noauto,rw,umask=000,uid=<userid> 0 0
<edit>So you have something to compare with, I get this when my pen is plugged in.
Code:
usb 4-2: new full speed USB device using address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Memorex Model: ThumbDrive Rev: 1.12
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 515840 512-byte hdwr sectors (264 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 2
---"Plug it in and see what the last few lines of $dmesg output."---
how does one go about doing this? is $dmesg a command or file or what?
you see, I also have a Lexar 128MB JumpDrive Secure and i can't mount it for the life of me...
i tried "mount /dev/sda1 /mnt/flash" with and without the -t flag followed by vfat and auto, i created a new line for it in fstab (/dev/sda1 /mnt/flash vfat noauto,owner,kudzu 0 0) and played around with so many options that i can't begin to remember them all...
every single time, i get the same message: "/dev/sda1 is not a valid block device" can anyone tell me what i'm doing wrong here?
michaelk, thanks for clearing up dmesg for me (looks like it'll be helpful someday maybe... :-) )
CD! you should just come up to 204 sometime and teach me and lance how to do this! (it's adam by the way) i put in the line you posted and got the same error message... we want to get this figured out cuz we're rebuilding the cluster and it would make data transfer easier... kind of ironic you would reply to my post :-) thanks
holy crap,
how crazy is that. i just started this thing a week ago. word to the gang.
anyhow, i forgot to tell you to substitute the device name that the cluster uses. sometimes it's /dev/sda, /dev/sdb1, ect. my laptop always uses sda1, but the one at work uses a different one everytime. make a directory /mnt/usb or /mnt/flash, or whatever you want to mount the pen drive to for that matter. the way i used to mount it was as root
# mount /dev/sda1 /mnt/usb
you can try different device names until you find the one that works, then use that one for fstab so you can mount it as a user.
hope that helps a little. man, what are the odds. that's sweet
later dude, ill keep an eye out for your questions, probably wont be able to help, but what the hey
i can't get it to mount under any of the sd? names... i tried a through z and then tried again with a 1 at the end and always got that same error message.... "not a valid block device"
is it possible i need a different name entirely? like i know sg0, sg1, etc are generic SCSI and theres slram and ftla and millions of others.... hmmmmmm...........
anyway, thanks to everyone. it still doesn't work, but at least i've learned a pantload of stuff in the process... if anyone thinks of anything else, i'd really appreciate it (and thanks in advance), but for now i'm off to research the issue further.... lata y'all
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.