LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Custom Bootstrapped Debian will not mount USB Drives (yet they are detected) (https://www.linuxquestions.org/questions/debian-26/custom-bootstrapped-debian-will-not-mount-usb-drives-yet-they-are-detected-788783/)

Coburn64 02-12-2010 07:20 PM

Custom Bootstrapped Debian will not mount USB Drives (yet they are detected)
 
Howdy all.

I'm having issues with a custom Bootstrapped Debian Etch installation. The bootstrapped Debian is Debian Etch 4.0r5, for CoburnOS Server Edition (a custom debian-based distro, made by myself). I'm trying to get USB drives set up, but it's failing.

The kernel is from Tiny Core Linux (latest 2.x version). The IDE is a DiskOnModule, 256MB. Therefore I'm going barebones (I've squeezed my Debian Etch from ~110MB to 97MB).

I'm using MS-DOS to boot into Linux via LinLD, a extended version of LoadLin that works for 2.6.x kernels. Therefore, on boot, MS-DOS (from Windows 98) boots, and then LoadLin boots the TC kernel, kicks MS-DOS out the window, taking me to the wonderful screens of flowing text as the kernel boots my custom Debian. I know I should really use GRUB, but I'm lazy... :P

When I'm logged in as root, I insert my USB Drive (which I'll be using for Server Storage) and I get the following:

Quote:

usb 1-2: new full speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 0:0:0:0: Direct-Access 256MB USB2.0 2.00 PQ: 0 ANSI: 2
ready
sd 0:0:0:0: [sda] 512000 512-byte hardware sectors: (262 MB/250 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 512000 512-byte hardware sectors: (262 MB/250 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
At the command line, I do the following:

# mount /dev/sda1 /mnt

....and that responds:
mount: cannot mount /dev/sda1 (No such file or directory)

Strange. I possibly haven't mounted usbfs or whatnot (silly me), but the kernel does look at the device, says hello to it, supposedly makes it accessable with /dev/sda* but mount fails with that error. Could MSDOS be a issue?

Any ideas?

neonsignal 02-12-2010 10:09 PM

Can't imagine that the loader would be the issue.

First the obvious questions. Does /dev/sda1 exist (after plugging in the drive)? Does /mnt exist?

Do you have the usbcore and usb_storage drivers?


All times are GMT -5. The time now is 09:04 PM.