Author Topic: Fat16 Partition On Cf Card Not Recognized?  (Read 2984 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Fat16 Partition On Cf Card Not Recognized?
« on: May 07, 2008, 02:25:33 pm »
More wackyness here....hope someone can please advise...goin' nutz over this....

 

I need to get CF card setup so that I can use it to install Linux on my Jornada 728.... but need to do this with my Zaurus as it has CF slot...

Got my 32GB CF Card partititioned into 3 partitions:

/dev/hdc1   - supposed to be FAT16

/dev/hdc2   - ext2

/dev/hdc3   - swap


Having problem with system recognizing the FAT16 partition correctly, the other 2 partitions are working OK.


When I did checked fdisk partition table for  /dev/hdc1 I see:

Code: [Select]
#fdisk /dev/hdc
#p
Disk /dev/hdc: 32.4 GB, 32480690176 bytes
255 heads, 63 sectors/track, 3948 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000000

   Device  Boot        Start        End       Blocks        Id   System
/dev/hdc1   *                1           2        16033+      6    FAT16
/dev/hdc2                     3        3922    31487400   83    Linux
/dev/hdc3               3923         3948      208845    82    Linux Swap / Solaris


When I do mount I get:
Code: [Select]
#mount -t vfat /dev/hdc1 /mnt/cf
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hdc1


When I do dmesg | tail  I get:

Code: [Select]
#dmesg | tail
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hdc1
  hdc:  hdc1  hdc2  hdc3
  hdc:  hdc1  hdc2  hdc3


Again, hdc2 and hdc3 are working fine, no problems....


Any suggestions as to how to get FAT partition working/recognized???

Thanks!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Fat16 Partition On Cf Card Not Recognized?
« Reply #1 on: May 07, 2008, 05:43:11 pm »
[size=]UPDATE: [/size]
OK, finally got this fixed.....

I shutdown Debian EABI and rebooted into emergency console (D+B keys)....

Used fdisk there and did 'mkfs.msdos /dev/hdc1', then mount command and voila!, partition was now recognized and I was able to copy over the files that I needed to that partition.

Maybe this info will save someone else some time in the future...

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/