View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#17
Originally Posted by abdel_95 View Post
here is what i get when i type it Nokia-N900:~# fsck -r /dev/mmcblk0pq

what should i do?
At first type correctly (or copy/paste) ...

--
Oops, sorry.
Missed the middle part.

Iirc I once ran into that, but can not remember which option I used. For sure I made backups of those sectors (dd).
Run (as root):
Code:
dd if=/dev/mmcblk0p1 of=/home/user/boot.sector bs=512 count=1
dd if=/dev/mmcblk0p1 of=/home/user/backup.sector bs=512 count=1 skip=6
Now you will have save backups of both sectors and may try the variant 2 (copy backup to boot).

If that does not work do (it should, so post/ask before doing):
Code:
dd if=/home/user/boot.sector of=/dev/mmcblk0p1 bs=512 count=1
dd of=/home/user/boot.sector of=/dev/mmcblk0p1 bs=512 count=1 seek=6
And maybe you should follow michaaa62's advice below.
And read about testdisk.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2014-10-01 at 13:54.
 

The Following User Says Thank You to peterleinchen For This Useful Post: