Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Cannot detect usb keys< Next Oldest | Next Newest >
Tekno Offline





Group: Members
Posts: 10
Joined: Feb. 2005
Posted: Mar. 13 2006,23:10 QUOTE

Help!
I have been using DSL for some time now, but this problem is still beyond my expertise. I have tried everything that I can think of, but DSL will not detect my USB keys (2). I have not tried any command line script because I do not know any for this purpose.

Maybe I should clarify this post. I plug the key in, and the computer acesses it, but I cannot find it in emelfm or Midnight Commander. It is like the computer knows that it is there, but it won't let me get to it.


--------------
Turning people to Linux, one kernel at a time.
Back to top
Profile PM 
anaconda Offline





Group: Members
Posts: 96
Joined: Mar. 2006
Posted: Mar. 14 2006,08:22 QUOTE

You have to mount your USB-stiks before you can use them.

The command-line version (good to know, because it works in all linux distros)
First open a terminal and then write:
Code Sample
sudo su
mkdir /mnt/usb1
mount /dev/sda1 /mnt/usb1

mkdir /mnt/usb2
mount /dev/sdb1 /mnt/usb2

Now you can find your USB-sticks in directories /mnt/usb1 and /mnt/usb2

Just remenber to umount them before you unplug them.
Code Sample
umount /mnt/usb1


USB-sticks are sdX devices.(/dev/sdX) Your first USB-stick is always sda, second is sdb third sdc etc... And the first partition of first USB-stick is sda1, second sda2 third sda3 etc...

You have to mount all partitions you want to use. So if your first USB-stick has 2 partitions you have to mount /dev/sda1 and /dev/sda2. And you can mount them anywhere you want, just make the directory first.

And NO it isn't that difficult. If you want You can make alias, which would mount your first USB-stick by writing: USB1 or whatever..

And if you want to learn the easy way (works in DSL) you can just start emelfm and right click at "/mnt/sda1" and select "mount". then you can access your (first) USB-stick at /mnt/sda1

but the first way is better, because it works in all linux distros....

anaconda


--------------
___
anaconda
Back to top
Profile PM 
Neb Offline





Group: Members
Posts: 31
Joined: Mar. 2006
Posted: April 03 2006,02:15 QUOTE

I'm just completing a picture frame running DSL 2.3. I have everything setup with screen image software, etc. I now want to add the ability to plug in a USB stick and upload new pics.

? I suppose I could write the lines shown above into /opt/bootlocal.sh which would enable them from the start. Then if I plug in a USB stick, it would be mounted. However, I want to plug in the USB stick and have the pictures auto load since I won't have a keyboard.

Any thoughts?
Back to top
Profile PM 
2 replies since Mar. 13 2006,23:10 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Cannot detect usb keys

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code