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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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
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
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