View Single Post
Posts: 123 | Thanked: 457 times | Joined on Feb 2012
#37
I also encountered a device with exactly the same symptoms.

I did the following:

1. dump the partition to a file:

Code:
dd if=/dev/mmcblk0p3 of=/home/user/MyDocs/home.img
2. copy the partition dump to a desktop Linux system
3. run fsck.ext4 on the partition dump

Code:
fsck.ext4 -y home.img
4. copy the fixed partition dump back to the device
5. write the partition dump back to the mmc

Code:
dd of=/dev/mmcblk0p3 if=/home/user/MyDocs/home.img
6. reboot
7. keep fingers crossed that this doesn't happen again

I first tried running fsck.ext4 on the device itself but it kept segfaulting. There could be something wrong with the memory chips on the device.

Unfortunately it seems that even though the partition now works again, too many files were corrupted on the partition. Most likely the tracker database was lost since all contacts, messages etc. were lost. However, at least after this /home is on its own partition as expected. Of course that would also be achievable by just making a new ext4 filesystem on the partition and copying the relevant files over from /home/user.

Last edited by Vesuri; 2013-04-04 at 11:10. Reason: New observations