Thread: memory corrupt
View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#23
Hope this will work:
To simulate your situation i just zero'ed the first sector of my external card to reproduce the error message, then copied the backup sector of the filesystem to the first sector. This made a filesystem check possible and all of my data readable again.
Code:
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
fsck -f /dev/mmcblk0p1
mount /home/user/MyDocs
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post: