![]() |
2011-10-11
, 20:33
|
Posts: 159 |
Thanked: 68 times |
Joined on Sep 2011
@ India
|
#2
|
![]() |
2011-10-11
, 20:39
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#3
|
![]() |
2011-10-11
, 21:12
|
Posts: 80 |
Thanked: 1 time |
Joined on Aug 2011
@ Egypt
|
#4
|
Hu hu nourgomaa!
Here is some interesting bit for you http://nerdbynature.de/s9y/?82
May you try to get things going again with an alternative superblock. Although the second command runs mkfs.ext2, it is actually a simulation with the '-n' option to get the backups of the superblock.
![]() |
2011-10-12
, 11:39
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#5
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2011-10-12
, 19:41
|
Posts: 80 |
Thanked: 1 time |
Joined on Aug 2011
@ Egypt
|
#6
|
There seems to be no way to fsck those partitions. The emmc might be broken(corrupt) or the filesystems are in an unusable state. Two ways to try to proceed
A: Do you now want to recover data from the partitions?
B: Do you want to try to get the partitions to work and wipe all the data that is right now on it?
A or B?
![]() |
2011-10-13
, 09:56
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#7
|
sudo gainroot echo "unit: sectors > /dev/mmcblk0p1 : start= 64, size= 50339840, Id=0 > /dev/mmcblk0p2 : start= 50339904, size= 10485760, Id=0 > /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82 > /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > partitiontable sfdisk --no-reread /dev/mmcblk0 < partitiontable
echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 50339840, Id=0
> /dev/mmcblk0p2 : start= 50339904, size= 10485760, Id=0
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > partitiontable
sudo gainroot sfdisk -c /dev/mmcblk0 1 c sfdisk -c /dev/mmcblk0 2 83 mkfs.vfat -n MyDocs -F32 -s64 /dev/mmcblk0p1 mkfs.ext3 -L optfs /dev/mmcblk0p2 mount /dev/mmcblk0p2 /mnt cp -a /home/* /mnt rm -rf /home
![]() |
2012-02-02
, 12:05
|
Posts: 391 |
Thanked: 912 times |
Joined on Aug 2011
@ suncity
|
#8
|
There seems to be no way to fsck those partitions. The emmc might be broken(corrupt) or the filesystems are in an unusable state. Two ways to try to proceed
A: Do you now want to recover data from the partitions?
B: Do you want to try to get the partitions to work and wipe all the data that is right now on it?
A or B?
![]() |
2012-02-02
, 13:04
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#9
|
sudo gainroot umount /dev/mmcblk0p1 fsck -af /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs
sudo gainroot sfdisk -l
![]() |
2012-02-02
, 13:52
|
Posts: 391 |
Thanked: 912 times |
Joined on Aug 2011
@ suncity
|
#10
|
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 partitionDo you get any errors if you want to read the partition tableCode:sudo gainroot umount /dev/mmcblk0p1 fsck -af /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocsCode:sudo gainroot sfdisk -l
I have problem seems like to the last problems i'v posted here in this forum.
Firstly.... I would thank mr.michaaa so much... he was the most helpful person here in this forum.. and he helped me a lot
i want to explain that i'v problem with internal memory like "read only file system", but it's not in read only mode... it's strange!
No need to explain it again.. just read the given command line
I could use my N900 through android now.. with 5GB Mass storage and 2GB internal storage.. the 27GB is unusable now.. in any OS
My friend have nokia N900, and he had problem with "mmcblk0p2" and app manager,,, I wrote in his terminal "fsck.ext3 -vvv /dev/mmcblk0p2" after unmount the device... and it gave me that the device had many problems and it's fixable, just accept with "y" i accepted most of them, restarted.. and everything went well!
The device came to the normal state and worked perfectly!
I tried the same code with my N900 And it gave me "unable to set superblock flags on /dev/mmcblk0p2"
I searched on Google.. but i didn't find any problem like my one!
Sorry for lengthy and annoying... but i really think that i could find solution for my problem!
Please help me in that...
Thanks again to Mr/Michaaa
And thanks in advance!
Regards....
Last edited by nourgomaa; 2011-10-11 at 20:31.