New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

can't mount USB storage

Got problems with Bubba? Then this forum is for you.
Locked
msx
Posts: 106
Joined: 13 Jan 2007, 06:03
Location: Venice
Contact:

can't mount USB storage

Post 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
vecka53
Posts: 17
Joined: 05 Dec 2007, 05:53

Post 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
msx
Posts: 106
Joined: 13 Jan 2007, 06:03
Location: Venice
Contact:

Post by msx »

thanks i'll try this evening! :)
vecka53
Posts: 17
Joined: 05 Dec 2007, 05:53

Post by vecka53 »

You can also check out
#man MAKEDEV

A lot of nice reading! :wink:
msx
Posts: 106
Joined: 13 Jan 2007, 06:03
Location: Venice
Contact:

Post by msx »

worked great, thanks :)

i don't understand why it didn't create them automatically.. anyone installing etch-light had the same issue ?
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post 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
Co-founder OpenProducts and Ex Excito Developer
microcode
Posts: 4
Joined: 29 May 2008, 01:51

Post 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
Locked