Topic: USB drive wont mount

running Backfire (10.03.1-RC6, r28680).

dmesg is shows the following

Registered led device: wzr-hp-g300nh:blue:usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete

sd 0:0:0:0: [sda] 256000 512-byte logical blocks: (131 MB/125 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"
yaffs: dev is 8388609 name is "sda1"
yaffs: Attempting MTD mount on 8.1, "sda1"

i have installed the following packages

kmod-usb-core - 2.6.32.27-1
kmod-usb-ohci - 2.6.32.27-1
kmod-usb-storage - 2.6.32.27-1
kmod-usb2 - 2.6.32.27-1
libusb-1.0 - 1.0.8-1
usbutils - 003-1
kmod-scsi-core - 2.6.32.27-1
kmod-scsi-generic - 2.6.32.27-1

fdisk output
Disk /dev/sda: 131 MB, 131072000 bytes
32 heads, 32 sectors/track, 250 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Disk identifier: 0x42b69f5d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         250      127984   83  Linux


every time i try mount the drive, it never shows up.

mount /dev/sda1 /mnt/usbdisk

nothing shows under mount or df-h. any ideas?

Re: USB drive wont mount

you are missing the package block-mount
and the driver for your filesystem.
If it's ext2/3/4 install kmod-ext4, for fat32 it's kmod-vfat.

and configure /etc/config/fstab

Re: USB drive wont mount

eleon216 wrote:

you are missing the package block-mount
and the driver for your filesystem.
If it's ext2/3/4 install kmod-ext4, for fat32 it's kmod-vfat.

and configure /etc/config/fstab

installed kmod-fs-ext4, works now. thank u much

OpenWrt:~# mount
/dev/sda1 on /mnt/usbdisk type ext4 (rw,relatime,barrier=1,data=ordered)

Re: USB drive wont mount

You will need to create two primary paritions/volumes (the term is interchangeable). You will need to install linux on the first parition and Windows on the second. The FDISK command will also let you choose which parition is to be set to active. You will have to set the first partition to Active to run linux, and the second one should be active whenever you wish to run Windows.

Pure Raspberry Ketone