[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB flash drive not automounting or mounting



On Sun, 05 Feb 2006 20:42:09 -0700
"John W. M. Stevens" <john@betelgeuse.us> wrote:

> On Sun, 2006-02-05 at 17:47 -0800, Rob Blomquist wrote:
> > On Sunday 05 February 2006 3:13 pm, Marc Wilson so eloquently stated:
> > > On Sun, Feb 05, 2006 at 01:30:01PM -0800, Rob Blomquist wrote:
> > >
> > > <much silliness deleted>
> > >
> > > > Ok from all this, I wonder if the drive is corrupt. It is connected. Why
> > > > can't I manually mount it?
> > >
> > > Because you're trying to mount the block device, rather than a partition on
> > > it.  Example:
> > >
> > > rei $ sudo fdisk -l /dev/sdf
> > >
> > > Disk /dev/sdf: 519 MB, 519569408 bytes
> > > 129 heads, 32 sectors/track, 245 cylinders
> > > Units = cylinders of 4128 * 512 = 2113536 bytes
> > 
> > OK, I know what you mean about mounting the block device, I tried sdb0, 1, and 
> > 2, but got no response before I emailed.
> > 
> > timmy:~# dmesg | tail
> > usb 3-5: new high speed USB device using address 32
> > scsi7 : SCSI emulation for USB Mass Storage devices
> >   Vendor: PNY       Model: USB 2.0 FD        Rev: 1.13
> >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > SCSI device sdb: 487424 512-byte hdwr sectors (250 MB)
> > sdb: assuming Write Enabled
> > sdb: assuming drive cache: write through
> >  /dev/scsi/host7/bus0/target0/lun0: p1
> > Attached scsi removable disk sdb at scsi7, channel 0, id 0, lun 0
> > USB Mass Storage device found at 32
> > 
> > So it is still there, and let me find out what it responds to:
> > 
> > timmy:~# fdisk -l /dev/sdb
> > 
> > Disk /dev/sdb: 249 MB, 249561088 bytes
> > 16 heads, 32 sectors/track, 952 cylinders
> > Units = cylinders of 512 * 512 = 262144 bytes
> > 
> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/sdb1   *           1         952      243696    6  FAT16
> > 
> > Ah, so it is vfat on sdb1! no sweat!
> > 
> > timmy:~# mount -t vfat /dev/sdb1 /media/flash
> > mount: special device /dev/sdb1 does not exist
> 
> OK, just in case: Do you actually have a device
> special file /dev/sdb1?
> 
> Just askin' . . .
> 
> > Now this is silly! 
> > 
> > Is it still there?
> > 
> > timmy:~# fdisk -l /dev/sdb
> > 
> > Disk /dev/sdb: 249 MB, 249561088 bytes
> > 16 heads, 32 sectors/track, 952 cylinders
> > Units = cylinders of 512 * 512 = 262144 bytes
> > 
> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/sdb1   *           1         952      243696    6  FAT16
> > 
> > I will be darned. Still there, but mount can't find it!
> 
> Maybe because the error message from mount is correct?  That
> "special device /dev/sdb1 does not exist?"

do you have udev rules to create the device?

A
> 
> John S.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Attachment: pgpgeSQ_2mDhg.pgp
Description: PGP signature


Reply to: