The Following User Says Thank You to sulu For This Useful Post: | ||
|
2012-02-02
, 13:22
|
Posts: 23 |
Thanked: 9 times |
Joined on Sep 2010
|
#12
|
Testdisk and Photorec (do not use it , until you really have to!) are fine tools, but they are quite time consuming. First try to get the partition back to default.
Do you get any error messages (copy and paste them), if you try to fsck the partition?
Please no conky, images or vague description, just shell output.
#fsck /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 2.11, 12 Mar 2005, FAT32, LFN Logical sector size is zero.
|
2012-02-02
, 13:56
|
Posts: 23 |
Thanked: 9 times |
Joined on Sep 2010
|
#14
|
Testdisk and Photorec (do not use it , until you really have to!) are fine tools, but they are quite time consuming. First try to get the partition back to default.
Do you get any error messages (copy and paste them), if you try to fsck the partition?
Please no conky, images or vague description, just shell output.
#umount /dev/mmcblk0p1 umount: cannot umount /dev/mmcblk0p1: Invalid argument
#mount /dev/mmcblk0p1 /home/user/MyDocs mount: mounting /dev/user/MyDocs failed: Invalid argument
|
2012-02-02
, 14:32
|
Posts: 23 |
Thanked: 9 times |
Joined on Sep 2010
|
#15
|
|
2012-02-02
, 14:41
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#16
|
Code:#umount /dev/mmcblk0p1 umount: cannot umount /dev/mmcblk0p1: Invalid argumentAnd of course I did reboot my phone...Code:#mount /dev/mmcblk0p1 /home/user/MyDocs mount: mounting /dev/user/MyDocs failed: Invalid argument
root fsck /dev/mmcblk0p1
|
2012-02-02
, 15:09
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#17
|
#fsck /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Logical sector size is zero.
mount /dev/SomePartition /mnt dd if=/dev/YourN900'sFirstPartition of=/mnt/SomeClearName.dd_image bs=4096
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
|
2012-02-02
, 15:23
|
Posts: 23 |
Thanked: 9 times |
Joined on Sep 2010
|
#18
|
This error makes recovery of files nearly impossible, because even testdisk might need some kind of file system information for the data it should try to get from the partition.
If you have anything really, really important on the partition you should make a clone copy of the device /dev/mmcblk0p1 to some external storage. From a linux system, either Live-CD or installed system with at least 28 GB free storage available, it would be as root
If things are saved, or you still have the files already copied before, this would write a copy of the superblock of a FAT32 filesystem only backCode:mount /dev/SomePartition /mnt dd if=/dev/YourN900'sFirstPartition of=/mnt/SomeClearName.dd_image bs=4096
Note: If that is failing [check with the above fsck code] there is no way back but to rewrite the image your before took, or to knowingly wipe the partition and format it.Code:dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
|
2012-02-02
, 16:00
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#19
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-02-02
, 21:42
|
Posts: 23 |
Thanked: 9 times |
Joined on Sep 2010
|
#20
|
(question to others: Does Maemo's fsck produce any error messages at all?)