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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: /dev/sda1 is not a valid block device, USB mounting problems< Next Oldest | Next Newest >
ion Offline





Group: Members
Posts: 1
Joined: Feb. 2004
Posted: Feb. 07 2004,13:36 QUOTE

I'm gonna use DSL to rescue a system and need to backup important files to a USB device, namely a digital camera, as I have no other type of device.
Anyhow, I've booted into DSL, I am su:ed to root, and I plug in the running camera.
Dmesg says that it recognises that a camera is plugged in like:
"New usb devie found, assigned to address 5.
USB device is not claimed by any active driver" (with a bit of extra non-human-readable info.)
When running lsmod, I have all possible usb modules.
Meanwhile, in /proc/bus/usb  there's the files 'devices' and 'drivers', and the folders 001 and 002.
In folder 001, the files change when I reconnect the camera to match the address that dmesg gave, like 005 -> address 5
So according to every piece of documentation I've read, I've just to run:
mount -t vfat /dev/sda1 /mnt/usbdrive
to mount it.
However, when I do, it gives me the error:
mount: /dev/sda1 is not a valid block device

I get the same error when I try sda2-sda11 and sdb1-sdb11.

fstab assumes /dev/sda1, so the mount.app can't mount it either.
The mount button is blank and non-clickable.

It's an HP digital camera.
I dunno if that makes any difference, but I've had the experience that they make up things of their own a bit... ???
Back to top
Profile PM 
hasty Offline





Group: Members
Posts: 280
Joined: Oct. 2003
Posted: Feb. 07 2004,15:32 QUOTE

I've vaguely wondered about this in the past and would love to know if anyone has used this technique successfully.

And not just on Damn Small although that would be a bonus :)
Back to top
Profile PM 
hasty Offline





Group: Members
Posts: 280
Joined: Oct. 2003
Posted: Feb. 07 2004,16:05 QUOTE

Here I go again hasty by name...

A friend always insists on formatting his card before use.
I've used three cards over the past 4 years and never formatted any of them.

Have you tried mounting with the right file type ?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 07 2004,21:49 QUOTE

Try checking this web site to see if your Camera is supported by the Linux mass storage driver. Sometimes help is provided:

http://www.qbik.ch/usb/devices/
Back to top
Profile PM 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Feb. 07 2004,22:09 QUOTE

Also, look at your /etc/fstab.
I believe that DSL picks up all partitions,  etc. when it boots, and will show them there. You should have the camera plugged in and turned on when you first boot DSL, and see if it gets picked up in the /etc/fstab file.
----
Here' mine on a Toshiba Laptop, one partition on the hard drive, and a Dell USB memory stick, 64 MB  plugged in as my restore device.
----
none       /proc       proc   defaults            0 0
none       /dev/pts    devpts mode=0622           0 0
/dev/fd0   /mnt/auto/floppy auto   user,noauto,exec,umask=000    0 0
/dev/cdrom /mnt/auto/cdrom  auto   user,noauto,exec,ro 0 0
/dev/sda1  /mnt/usbdrive  auto  user,noauto,exec,umask=000  0 0
/dev/hda1 /mnt/hda1  auto   noauto,user,exec 0 0
----
As you can see, it picked up the usb drive at /dev/sda1
---
Just a thought, hope it helps. btw, that "not a valid block device" also will turn up if you try and mount a floppy, and you forget to put the floppy in the drive!
---
  :;):


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
8 replies since Feb. 07 2004,13:36 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: /dev/sda1 is not a valid block device

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