[ale] mounting an SD card

Christopher Fowler cfowler at outpostsentinel.com
Wed Jun 28 18:35:03 EDT 2006


1.  ls -l /dev/sda1
2.  mount -t vfat

On Wed, 2006-06-28 at 18:16, Jim Philips wrote:
> On Wednesday 28 June 2006 11:59, Jim wrote:
> > JK wrote:
> > > Jim Philips wrote:
> > >> I'm trying to mount an SD card I bought for a new camera. I find my card
> > >> reader in dmesg, like so:
> > >>
> > >> usb-storage: waiting for device to settle before scanning
> > >>  Vendor: Generic   Model: USB SD Reader     Rev: 1.00
> > >>  Type:   Direct-Access                      ANSI SCSI revision: 00
> > >> sd 0:0:0:0: Attached scsi removable disk sda
> > >>
> > >> But if I try to mount it, I get:
> > >>
> > >> bash-3.1# mount /dev/sda -t vfat /mnt/sd
> > >
> > > Try
> > >
> > > bash-3.1# mount /dev/sda1 -t vfat /mnt/sd
> > >
> > > You need to tell it which partition to mount. Usually the first partition
> > > on an  SD card is the data one, but you can "fdisk /dev/sda" and issue
> > > the "p" command to see them all.
> 
> >
> > fdisk -l /dev/sda
> > Will list the partions in batch mode.
> >
> > Jim.
> 
> Well, I get a clear enough result from that:
> 
> Disk /dev/sda: 512 MB, 512229376 bytes
> 9 heads, 8 sectors/track, 13895 cylinders
> Units = cylinders of 72 * 512 = 36864 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               4       13896      500107+   6  FAT16
> 
> But it still doesn't mount:
> 
> bash-3.1# mount -t vfat /dev/sda1 /mnt/sd
> mount: special device /dev/sda1 does not exist
> bash-3.1# mount -t msdos /dev/sda1 /mnt/sd
> mount: special device /dev/sda1 does not exist
> 
> So, fdisk thinks it exists, but mount doesn't?
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list