View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#30
Originally Posted by devildriven View Post
Thanks for all your help, i really appreciate it!

So i should run?...

dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6

Is that the full code? Where would the -r option come in? After i have run this? Thanks again, hopefully its going to be fixable this way!
You are right very unclear
Code:
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
is the command to write the copy of the superblock back on the device
Code:
fsck -af /dev/mmcblk0p1
checks the filesystem afterwards. It might be necessary to apply some more force to the fsck command that would be
Code:
fsck -r /dev/mmcblk0p1
After you receive no more errors from fsck, you could mount the partition
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs
This will be the final moment of truth, if all went well.
 

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