FAT filesystem - bad superblock
Hello,
Last night my android phone said it can't read the SD card and it wanted to format it. I pulled it out, put it in a card reader and tried to mount it on my desktop pc: Code:
$ sudo mount /dev/sdb1 tmp Code:
$ sudo fsck.msdos /dev/sdb1 Code:
$ sudo fdisk -l /dev/sdb I know EXT filesystems have superblock backups across the device that can be used in such a moment. Does FAT have backups? Do you know any method for recovery? I've tried photorec and it did manage to retrieve data, but without any file names or directory structure. It doesn't do any good except to restore my pictures, and they are my least concern. [UPDATE] dd failed with Input/output error after copying 2.7 GB. Is it possible the card is really broken? |
usually FAT has a backup too. you can try testdisk to fix your SD card.
|
Do you mean photorec? I've installed it from a packet named 'testdisk'. I've already tried it, but with a very limited success.
[EDIT] Ah, testdisk is different! And it did the job! Here is what I did: sudo testdisk >Create a new log file [Choose Disk] >Intel/PC partition >Advanced [Choose Partition] >Boot >Repair FAT [Accept Defaults and Write] >(Q)uit until exited From here: http://ubuntuforums.org/showthread.php?t=2103994 |
I mean this: http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
|
All times are GMT -5. The time now is 04:39 PM. |