View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#25
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
Code:
mount /dev/SomePartition /mnt
dd if=/dev/YourN900'sFirstPartition of=/mnt/SomeClearName.dd_image bs=4096
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 back
Code:
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
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.
 

The Following 4 Users Say Thank You to michaaa62 For This Useful Post: