Originally Posted by muskrat
My wife gave me a memstick for Navidad, So when I try to use it on my linux box this is what I get, I've read the above post and still don't see where I've gone wrong.
I sure would like some help here. Thanks a bunch.
I recommend seting up usb stick devices in your own home directory, it sure is a lot easier.
1. log in to your system as your normal user
2. open a terminal, i.e. xterm
3. You should see a $ sign prompt
4. type: "mkdir mnt" <Enter> without the quotes; this creates a directory called "mnt"
5. type: cd mnt <Enter>
6. open a second terminal
7. in the second terminal log in as root
type: su -
enter root's password
type: tail -f -n20 /var/log/messages (or whereever your system logs messages)
8. Now, plug in your usb stick
9. Watch the messages in the second terminal, you should see something like this:
Dec 26 19:01:44 lightstar kernel: hub.c: new USB device 00:02.2-5, assigned address 2
Dec 26 19:01:44 lightstar kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Dec 26 19:01:44 lightstar kernel: sdf: Unit Not Ready, sense:
Dec 26 19:01:44 lightstar kernel: sdf: sdf1
10. The important line is the last one, you see that the kernel assigned my device the device number sdf1
11. Now, in the FIRST terminal, create a directory under mnt for the usb stick:
type: "mkdir sdf1" (Replace sdf1 with whatever your device number is.)
11. Now, in the second terminal press Ctl-C, this will close the tail process and leave you at a root prompt.
12. Now, open whatever editor you feel comfortable with as root and edit the file /etc/fstab
13. As an example, for my sdf1 device I added the following line to fstab:
/dev/sdf1 /home/jerry/mnt/sdf1 auto noauto,users 0 0
Now, save the file.
14. That's it! Now, when I plug in my usb device, all I have to do is open a terminal and type:
$ cd mnt
$ mount sdf1
$ cd sdf1
And there is all the contents of my usb stick right before my eyes!
Please note, I use Slackware, all of this works on my system. Depending on your distribution, a few things might be a little different.
Disclaimer: I take no responsibility whatsoever for the use of these instructions. Who knows, your machine just might morph into a ball of cotton candy for using these instructions. Happy New Year! :-)