Re: Mounting a USB Mass Storage Device
On Sun, 02 Dec 2007 12:35:04 +0100
Samuel Bächler <linux@boeser.ch> wrote:
> Thanks for your many inputs so far!
>
> > Are you sure /dev/sda1 is your usb stick and not your primary hard
> > disk? Do a tail -f /var/log/syslog and then plugin your memory
> > stick. That will give you some info as to what the actual device
> > is.
>
> Your are right, Raj, sda* is my harddisk. Shame on me...
>
> > Is kernel module usb_storage loaded (or built into the kernel)?
> > What version of Debian are you running? The real console, or a GUI?
> > What happens to syslog when you insert the memory stick?
>
> Thanks, Ron, I did not 'modprobe usb_storage'. I am using etch and
> work on the console.
>
> Hitherto I learned a lot. But it still does not work. On the 'Konsole
> Terminal
> Programm' of KDE I did the folling things:
>
> # tail -f /var/log/syslog
> Then I inserted the stick...
> Dec 2 12:28:29 ataraxia kernel: usb 2-2: new full speed USB device
> using uhci_hcd and address 7
> Dec 2 12:28:30 ataraxia kernel: usb 2-2: configuration #1 chosen
> from 1 choice
> Dec 2 12:28:30 ataraxia kernel: scsi5 : SCSI emulation for USB Mass
> Storage devices
> Dec 2 12:28:30 ataraxia kernel: usb-storage: device found at 7
> Dec 2 12:28:30 ataraxia kernel: usb-storage: waiting for device to
> settle before scanning
> Dec 2 12:28:35 ataraxia kernel: Vendor: USB 2.0 Model: Flash
> Disk Rev: 2.00
> Dec 2 12:28:35 ataraxia kernel: Type:
> Direct-Access ANSI SCSI revision: 02
> Dec 2 12:28:35 ataraxia kernel: SCSI device sdb: 249120 512-byte
> hdwr sectors (128 MB)
> Dec 2 12:28:35 ataraxia kernel: sdb: Write Protect is off
> Dec 2 12:28:35 ataraxia kernel: sdb: Mode Sense: 0b 00 00 08
> Dec 2 12:28:35 ataraxia kernel: sdb: assuming drive cache: write
> through Dec 2 12:28:35 ataraxia kernel: SCSI device sdb: 249120
> 512-byte hdwr sectors (128 MB)
> Dec 2 12:28:35 ataraxia kernel: sdb: Write Protect is off
> Dec 2 12:28:35 ataraxia kernel: sdb: Mode Sense: 0b 00 00 08
> Dec 2 12:28:35 ataraxia kernel: sdb: assuming drive cache: write
> through Dec 2 12:28:35 ataraxia kernel: sdb: sdb1
> Dec 2 12:28:35 ataraxia kernel: sd 5:0:0:0: Attached scsi removable
> disk sdb
> Dec 2 12:28:35 ataraxia kernel: usb-storage: device scan complete
>
> # mount /dev/sdb1 /mnt/usb
> mount: you must specify the filesystem type
>
> I tried also 'mount -t [ vfat | usbfs | ntfs ] /dev/sdb1 /mnt/usb'
> but only with poor results.
>
> S.
>
You may try -t auto, or, even better, check it with disktype! USB
storage devices are usually formatted to FAT16.
--
Szia:
Nyizsa.
----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1
Reply to: