View Single Post
Posts: 391 | Thanked: 912 times | Joined on Aug 2011 @ suncity
#10
Originally Posted by michaaa62 View Post
You cannot recover data with testdisk from and to the same device.
I assume you are running testdisk from within the N900, so you will need an external microSD card to save the files to.

What is the error you are getting, if you try to fsck the partition
Code:
sudo gainroot
umount /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
Do you get any errors if you want to read the partition table
Code:
sudo gainroot
sfdisk -l
hmm... yes, I wasn't precise enough. my mistake, sorry.

so, I had memory problems (transmission said "read only memory") with my device, so I tried to fix it with fsck. during that process I accidentally (or because of my stupidity to be more precise) deleted some data. I realized this after using fsck. but only . documents, .videos and . sounds were lost. I'm interested in restoring .documents, the others are replaceable...
I ran fsck after the deletion was done, but it created an other partition, named totally something different than "n900"("ot boot d" - or something like this), and it has an intact .documents, .videos and .sounds folrders, but they are empty.
I tried to run testdisk right on my device, using a separate folder to save datas, but it always switched itself off (battery was full). so now I'm trying to run testdisk on a windows laptop, attached the n900 with the USB cable to it. after running testdisk in this way it found the new partition, I looked into the files and folders with the key "p", but testdisk did not showed .documents as deleted (with red characters), they were intact. after a deeper search, testdisk found an other partition named "N900" (I guess this is the old one, that I lost), but I cannot access to it, because it says it is probably damaged... so I guess I have write this partition back, but I can't...

but I experience one interesting thing: the ringtone and alarm sound are still working (I mean the ringtone and alarm that I set - mp3s)... I don't know if this has to do something with the problem...

Last edited by justmemory; 2012-02-02 at 14:05.