View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#25
Originally Posted by drnorton View Post
Hi michaaa62

Have the same problem... could not see my files, photos, mp3, nothing.. also settings of programms..
so i did a nokia software update, ans now my programms, games are gone too :-(
now allready again installed openssh, and connected.. => i can see the old files, but not from the phone...
is there a way to restore the old status & files & programms? i also have had an old backup, but i can see it any more in the phone..

here is the debuggin.txt as you wrote before...

what can i do to restore my old status :-( plz, can you help me.... ? ;-)

greetz drnorton

Code:
Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/mmcblk0p1          1  884864  884864   28315648    c  W95 FAT32 (LBA)
/dev/mmcblk0p2     884865  950400   65536    2097152   83  Linux
/dev/mmcblk0p3     950401  974976   24576     786432   82  Linux swap / Solaris
/dev/mmcblk0p4          0       -       0          0    0  Empty

Disk /dev/mmcblk1: 60032 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/mmcblk1p1          0+     31      32-      1023+   c  W95 FAT32 (LBA)
/dev/mmcblk1p2         32   60031   60000    1920000   83  Linux
/dev/mmcblk1p3          0       -       0          0    0  Empty
/dev/mmcblk1p4          0       -       0          0    0  Empty
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
/dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writeback)
/home/opt on /opt type none (bind)
nodev on /sys/kernel/debug type debugfs (0)
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
Filesystem                Size      Used Available Use% Mounted on
rootfs                  227.8M    126.5M     97.1M  57% /
ubi0:rootfs             227.8M    126.5M     97.1M  57% /
tmpfs                     1.0M     84.0k    940.0k   8% /tmp
tmpfs                   256.0k     88.0k    168.0k  34% /var/run
none                     10.0M     84.0k      9.9M   1% /dev
tmpfs                    64.0M      4.0k     64.0M   0% /dev/shm
/dev/mmcblk0p2            2.0G      1.4G    492.7M  74% /home
/home/opt                 2.0G      1.4G    492.7M  74% /opt
/dev/mmcblk0p1           27.0G    128.0k     27.0G   0% /home/user/MyDocs
/dev/mmcblk1p1         1004.0k     14.0k    990.0k   1% /media/mmc1
What amount of data are you expecting, >10GB or <1GB?

First steps: Please make sure that there is no 'hidden' data behind the mount point of /home/user. Unmount the MyDocs partition and look into the folder /home/user/MyDocs for any content[code]umount /dev/mmcblk0p1
ls -al /home/user/MyDocs
du -kx /home | sort -nr > /home/user/disk_usage.txt[code] The disk_usage.txt file may be helpful to find other files in your filesystem that you may miss.
Next step:
From what i see, the files in MyDocs partition are indeed deleted, so your best chances are to give testdisk a try to recover and undelete some of your files. Create some temporary space for the files to recover outside of the MyDocs partition to not write on it again, as the maemo OS thinks your partition is empty even when testdisk finds data
Code:
sudo gainroot
apt-get install recovery-tools
testdisk
Little walkthrough:

let it create a 'Fresh Log',
choose your card /dev/mmcblk0,
Intel partition table [if it asks for the info]
Quick Search

You might then try to choose the MyDocs partition, typing 'p' will list the files, arrow keys to get into directories, red entries are deleted files or folders.
If you want to recover them you have to choose a new location for the copy [you are asked for the location, where you want to save it. '.'stands for the current directory you are in, '..' stands for the upper directory.]
Again use the arrow keys to go to the temporary folder for storing the files. There is still the validate question of testdisk, which asks for the location, active in the upper part of the window. Hit 'Y' will copy the file to the new location. [Depending on the size of the file or folder this could take some time. Be patient and let it do its magic]

Good luck!
 

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