Page 1 of 1

can't mount USB storage

Posted: 10 Feb 2008, 11:11
by msx
I've just upgraded to a clean etch :) The update process worked perfectly, but now i've a little problem with usb memory. I insert it but then i can't mount becouse there's no /dev/sda* "file".
That's strange becouse dmesg tells me the usb is recognized and on sda1:
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: SAMSUNG Model: HM160HI Rev:
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
sda: Mode Sense: 00 38 00 00
sda: assuming drive cache: write through
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
sda: Mode Sense: 00 38 00 00
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi disk sda
usb-storage: device scan complete
Is there something i miss? :P

Posted: 11 Feb 2008, 07:27
by vecka53
I don't know exact how to do this but try this:

#cd /dev
#MAKEDEV sd

I had a problem with not having /dev/ttyUSB0 but when i did MAKEDEV usb (as root in the /dev directory) it created the right "files" in /dev directory!

/Markus

Posted: 11 Feb 2008, 07:43
by msx
thanks i'll try this evening! :)

Posted: 11 Feb 2008, 07:59
by vecka53
You can also check out
#man MAKEDEV

A lot of nice reading! :wink:

Posted: 11 Feb 2008, 14:18
by msx
worked great, thanks :)

i don't understand why it didn't create them automatically.. anyone installing etch-light had the same issue ?

Posted: 14 Feb 2008, 04:20
by tor
msx,

for the devicenodes to be created dynamically you have to install udev. The minimal etch install is really a barebone install. You need to add all bells and whistles yourself ;)

/Tor

Posted: 29 May 2008, 02:50
by microcode
msx wrote:i don't understand why it didn't create them automatically.. anyone installing etch-light had the same issue ?
Yes, I had the same problem. And I am glad I found this thread! Thanks for the tip, vecka53.

Mounting the USB drive allows me to put some scripts on there that I can then use to automate the reconfiguration of my Bubba. That is a big time saver.

For the sake of completeness, these are commands I used to mount the USB drive after a fresh install:

Code: Select all

cd /dev
MAKEDEV sd
mkdir /mnt/usb
mount /dev/sda1 /mnt/usb
cd /mnt/usb