View Single Post
Posts: 130 | Thanked: 24 times | Joined on Jan 2011
#14
Originally Posted by michaaa62 View Post
So i guess your file system is severely corrupt beyond a point of repair for fsck.

There are two, perhaps three, methods to go on from here:
1. If your data is still on your computer and easily to restore on the phone, you could formate the emmc freshly and recopy all your stuff to it.
Code:
mkfs.vfat -n MyDocs /dev/mmcblk0p1
2. You could try to get your data back from the device if you have no backup available with testdisk from recovery-tools package
Code:
apt-get install recovery-tools
testdisk /dev/mmcblk0
3. This a dangerous option: You could rewrite the file systems backup header to the partition. This could really do some magic, but could also destroy it beyond recovery if something goes weird.
Code:
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
You could find more on this slightly dangerous command here http://talk.maemo.org/showpost.php?p...8&postcount=31
nothin happend
~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# mkfs.vfat -n MyDocs /dev/mmcblk0p1
mkfs.vfat 2.11 (12 Mar 2005)
Nokia-N900:~#


a minute later i tryed the code u gave me first which is
sudo gainroot
umount /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs

than this came up
Nokia-N900:~# sudo gainroot
root is not in the sudoers file. This incident will be reported.
Nokia-N900:~# umount /dev/mmcblk0p1
umount: cannot umount /dev/mmcblk0p1: Invalid argument
Nokia-N900:~# fsck -af /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk0p1: 1 files, 1/1768863 clusters
Nokia-N900:~# mount /dev/mmcblk0p1 /home/user/MyDocs

checked my file manager and it was there.. the device memory. pressed on it and it saw the folders but they were empty.

checked memory from the setting and still it says memory corrupted, than went bk to the file manager and formated the Nokia N900, than checked again on the setting and finally it was back.


even thou i lost everything i'm still happy cuz i got the 32g back..

i just wanna thank u sooo much for ur help.

Last edited by hhmah; 2011-04-02 at 17:05.