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

Trying to mount CF card



I have a 10-in-one multiple card-type reader thingy with a CF card slot.
This is the first time I have ever used it.

Inserting the card I get a /dev/sda and /dev/sda1 devices. But when I go
to mount it, the mount fails.

$ mount -t vfat /dev/sda1 /mnt/tmp
[...]try dmesg | tail or so.

$ dmesg | tail
FAT: invalid first entry of FAT (0xfff8 != 0x1372)
VFS: Can't find a valid FAT filesystem on dev sda1.

$ dosfsck -lv /dev/sda1

dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      2048 bytes per cluster
         8 reserved sectors
First FAT starts at byte 4096 (sector 8)
         2 FATs, 16 bit entries
    124928 bytes per FAT (= 244 sectors)
Root directory starts at byte 253952 (sector 496)
       512 root directory entries
Data area starts at byte 270336 (sector 528)
     62388 data clusters (127770624 bytes)
63 sectors/track, 255 heads
        32 hidden sectors
    250080 sectors total
Checking file /CMDALL.TXT
Checking file /index.html (INDEX~1.HTM)
Checking file /log_cache.txt (LOG_CA~1.TXT)
Checking file /reboot.html (REBOOT~1.HTM)
Checking file /TAG_ID.TXT
Checking file /CGI-BIN
Checking file /LOG
Checking file /download.html (DOWNLO~1.HTM)
Checking file /exit.html (EXIT~1.HTM)
Checking file /:6Mm:31N:314:33L:32f:33h:330 (\220V\202ツオ\202ツ「~1)
Checking file /CGI-BIN/.
Checking file /CGI-BIN/..
Checking file /CGI-BIN/DOWN_RST
Checking file /CGI-BIN/gb_reboot (GB_REB~1)
Checking file /CGI-BIN/LOGLIST
Checking file /CGI-BIN/NETWORK
Checking file /CGI-BIN/NET_RST
Checking file /CGI-BIN/RFIDEXIT
Checking file /CGI-BIN/TROPTION
Checking file /CGI-BIN/TR_RST
Checking file /LOG/.
Checking file /LOG/..
Checking file /:6Mm:31N:314:33L:32f:33h:330/.
Checking file /:6Mm:31N:314:33L:32f:33h:330/..
Checking for unused clusters.
/dev/sda1: 18 files, 2315/62388 clusters

$ fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         977      125040   83  Linux

----------
So it appears to be a proper FAT16 partition, it just won't mount. I
don't have any other disks to check so I'm not sure if it's just an
oddly formatted disk or no--though it comes up fine under Windows.




Reply to: