Reply
Thread Tools
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#31
Silly typo, sorry
Code:
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
Better use copy and paste for these commands! It is essential to be correct

Last edited by michaaa62; 2011-02-01 at 14:50.
 

The Following 5 Users Say Thank You to michaaa62 For This Useful Post:
Temporal's Avatar
Posts: 323 | Thanked: 189 times | Joined on Oct 2010 @ Brazil
#32
Originally Posted by devildriven View Post
[...]
Code:
/home/user # dd if=/[SPACE]dev/mmcblk0p1 of=/[SPACE]dev/mmcblk0p1 bs=512 count=1 skip=6
[...]
You put spaces there, there should not be spaces between the "/" and the "dev/[...]".

Looked like there is a space there, but there is not.
__________________
Love and Goodness are not a property. Are not a franchising. They are present in each one of us, and must be cultivated with KNOWLEDGE.
 

The Following 3 Users Say Thank You to Temporal For This Useful Post:
Temporal's Avatar
Posts: 323 | Thanked: 189 times | Joined on Oct 2010 @ Brazil
#33
My guess is that you have lost your data on this partition. Now, only formatting it |:/

Unless michaaaa62 has a better idea, I would try now

Code:
mkfs.vfat /dev/mmcblk0p1
this should wipe out everything that was in the 27gb part of your phone and make it work |:/

You could try other tools to try to recover the files that were on that, but you looked like they didn't matter after all...

and then, just like michaaa62 said:
Code:
fsck -af /dev/mmcblk0p1
checks the filesystem afterwards. It might be necessary to apply some more force to the fsck command that would be
Code:
fsck -r /dev/mmcblk0p1
After you receive no more errors from fsck, you could mount the partition
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs
This will be the final moment of truth, if all went well.
__________________
Love and Goodness are not a property. Are not a franchising. They are present in each one of us, and must be cultivated with KNOWLEDGE.

Last edited by Temporal; 2011-02-01 at 15:39.
 

The Following 4 Users Say Thank You to Temporal For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#34
Well you might want to check the partition with testdisk first. It is a well known recovery tool. To get it on your device
Code:
sudo gainroot
apt-get update && apt-get install recovery-tools
This brings in two tools mentioned testdisk and photorec. Use of 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 4 Users Say Thank You to michaaa62 For This Useful Post:
sub7's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#35
install backupmenu, and you can acces all your mass storage data and repair it from a linux live cd.

see this

http://talk.maemo.org/showthread.php?t=68620&highlight=partitioning&page =2


- just install backupmenu.
- restart your phone with keyboard open.
- when backupmenu appears connect the n900 to the pc with the live cd.
- then press w and you would get usb mass storage access and SD card storage access too.
- then you can use gparted if you have ubuntu for repair, delete, resize and do anything with your phone partitions.
you can use fsck from there too, that is more useful than do it from maemo

Last edited by sub7; 2011-02-01 at 16:49.
 
Posts: 21 | Thanked: 4 times | Joined on Aug 2010
#36
the exact thing happened to me TODAY, i just plug the n900 to another machine witch i never did before.
don't have words now to say to u and all others ....
Thank you very much, Bohoma sthuthi (in sinhala) .....
BTW i ran through all the commands you guys typed from the topic start to now
 

The Following 2 Users Say Thank You to hansaka For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#37
Originally Posted by hansaka View Post
the exact thing happened to me TODAY, i just plug the n900 to another machine witch i never did before.
don't have words now to say to u and all others ....
Thank you very much, Bohoma sthuthi (in sinhala) .....
BTW i ran through all the commands you guys typed from the topic start to now
Kudos to you for searching the forum!!!
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 21 | Thanked: 4 times | Joined on Aug 2010
#38
Originally Posted by devildriven View Post
How bizarre it happened to both us us today!? Hope you managed to resolve the problem too and greetings from the south of the UK!
yeah i'm also wondering may be nokia guys schedul this to be happend. whole day i was following u guys . thanks to you guys i fixed it

worm greetings from west coast, Sri Lanka
 
Posts: 21 | Thanked: 4 times | Joined on Aug 2010
#39
looks like i have another problem
when i recover the n900 memory i recovered all the data i had on the chip but today only i noticed that i only can read those data. i cant modify, delete or anything.
now I'm backing up all my data but do guys knows a way to fix this without formatting?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#40
Code:
sudo gainroot
umount /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
 

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


 
Forum Jump


All times are GMT. The time now is 17:51.