fsck error: currently, only 1 or 2 FATs are supported, not 34

15,782

When you do a dosfsck you need to tell it what partition number - fsck's launching of dosfsck isn't quite cutting it in this case (maybe). Try running dosfsck directly:

sudo dosfsck -r -v /dev/sdb1

the -r option is for interactively fixing the file system

the -v option is for verbosity

If you still see the error, I suspect the filesystem is corrupted. The File system is indicating you have 34 file allocation tables, which is not possible - you'll need to reformat.

Share:
15,782

Related videos on Youtube

Bill Paetzke
Author by

Bill Paetzke

Out of the box, yet practical. Mature technologist who builds SaaS backends, architects features and platforms, manages projects, and leads teams. Has interest in the business side of tech; always has an eye on cost; excited by being close to revenue generating projects.

Updated on September 17, 2022

Comments

  • Bill Paetzke
    Bill Paetzke over 1 year

    Why do I get the fsck error: "currently, only 1 or 2 FATs are supported, not 34?" And what can I do to successfully run fsck?

    I'm fsck-ing my Transcend 16GB Class-6 SD card. It got corrupted recently (not sure how). I already recovered the data. Now I'm trying to fix the card for re-use. I want to see if I can fix it without reformatting--using fsck.

    Here's the output for running fdisk and fsck on Ubuntu 9.04:

    billpaetzke@billpaetzke-desktop:~$ sudo fdisk -l
    
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x1aac1aac
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        9352    75119908+  83  Linux
    /dev/sda2            9353        9729     3028252+   5  Extended
    /dev/sda5            9353        9729     3028221   82  Linux swap / Solaris
    
    Disk /dev/sdb: 16.0 GB, 16071000064 bytes
    218 heads, 56 sectors/track, 2571 cylinders
    Units = cylinders of 12208 * 512 = 6250496 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1        2572    15690240    b  W95 FAT32
    billpaetzke@billpaetzke-desktop:~$ sudo fsck /dev/sdb1
    fsck 1.41.3 (12-Oct-2008)
    dosfsck 2.11, 12 Mar 2005, FAT32, LFN
    Currently, only 1 or 2 FATs are supported, not 34.
    
  • Bill Paetzke
    Bill Paetzke over 14 years
    Thanks, Dave. I received the same error, after running your statement. I agree: the file system is corrupted. This problem is beyond fsck. I will reformat with GParted, unless you suggest something else.
  • DaveParillo
    DaveParillo over 14 years
    Actually, I've never tried reformating an SD card, I sort of think of them as disposable, since they have finite lifespans.
  • Bill Paetzke
    Bill Paetzke over 14 years
    I reformatted it with GParted. It works again. I only had the card for seven months. So, I'm going to use it for awhile still. Next time, I'll buy SanDisk! :)