I've got a USB pen drive with a corrupted FAT filesystem. Now I try to repair it. So to first try what I can get from it without endangering the original hardware further, I've created an image with
dd using the following command line:
$ sudo dd if=/dev/sdb of=pendrive.img
Now I want to repair the filesystem in the image by running
fsck immediately terminates as follows:
$ sudo fsck.vfat -a -t -v pendrive.img fsck.fat 3.0.27 (2014-11-12) Logical sector size is zero.
Is there any trick how I can tell
fsck to assume a sector size or what does this message mean? Can somebody help interpreting this output?
This question is similar to fsck a filesystem in a file but this was about ext2. Also https://superuser.com/questions/129189/cant-mount-fat32-drive-under-ubuntu-linux gave no answer.