Recovering JPGs from a Corrupted VFAT FS
dmesg“”
sd 3:0:0:2: [sde] 1950720 512-byte hardware sectors (999 MB) sd 3:0:0:2: [sde] Write Protect is off sd 3:0:0:2: [sde] Mode Sense: 03 00 00 00 sd 3:0:0:2: [sde] Assuming drive cache: write through sd 3:0:0:2: [sde] 1950720 512-byte hardware sectors (999 MB) sd 3:0:0:2: [sde] Write Protect is off sd 3:0:0:2: [sde] Mode Sense: 03 00 00 00 sd 3:0:0:2: [sde] Assuming drive cache: write through sde: unknown partition table
$ sudo mount -t vfat /dev/sde /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sde,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
FAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev sde.
$ sudo dd if=/dev/sde of=sdcard.img bs=1M
$ sudo fsck.vfat -v /dev/sde dosfsck 2.11 (12 Mar 2005) dosfsck 2.11, 12 Mar 2005, FAT32, LFN Logical sector size is zero.
$ recoverjpeg sdcard.img Restored 620 pictures