maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 internal memory corrupted.. help please (https://talk.maemo.org/showthread.php?t=44203)

tranthao 2011-04-06 02:00

Re: N900 internal memory corrupted.. help please
 
Quote:

Originally Posted by michaaa62 (Post 933396)
You are right very unclear
Code:

dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
is the command to write the copy of the superblock back on the device
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.

my n900, it not accept fsck... wat can i do now?

jedi 2011-04-06 06:59

Re: N900 internal memory corrupted.. help please
 
Quote:

Originally Posted by tranthao (Post 982767)
my n900, it not accept fsck... wat can i do now?

Copy/paste the output here...

michaaa62 2011-04-06 14:32

Re: N900 internal memory corrupted.. help please
 
It really is difficult to pick up, what you are trying to achieve, from those one liners you are posting.
Please try to do what jedi asked and also describe the error you were facing first.

hhmah 2011-04-06 15:09

Re: N900 internal memory corrupted.. help please
 
i had the same problem abt a week ago..

http://talk.maemo.org/showthread.php...862#post979862

its all thankx to michaaa62

killadark 2011-05-09 05:47

Re: N900 internal memory corrupted.. help please
 
Quote:

Originally Posted by Temporal (Post 933354)
Ok, easier now:

1)
sudo gainroot

2)
umount /dev/mmcblk0p1

3)
fsck.vfat -f /dev/mmcblk0p1

What does each one of this report?

well i have been following this thread since i have the same problem but when i run umount/dev/mmcblk0p1 is says not found what should i do

anim1 2011-09-18 03:39

Re: N900 internal memory corrupted.. help please
 
Quote:

Originally Posted by michaaa62 (Post 933345)
Yes it does.
The partition for MyDocs is not mounted, this might be often triggered by a corrupted file system due to not being safely removed from a PC.
Please try
Code:

sudo gainroot
fsck -af /dev/mmcblk0p1

If no errors occur, try to mount it
Code:

mount /dev/mmcblk0p1 /home/user/MyDocs

every time i try this, it works but when i reboot, i have to do it all over again. thanx by the way.

michaaa62 2011-09-18 08:22

Re: N900 internal memory corrupted.. help please
 
Quote:

Originally Posted by anim1 (Post 1090800)
every time i try this, it works but when i reboot, i have to do it all over again. thanx by the way.

Don't reboot:D
Well the error must be happening while closing some applications or during shutdown.
Do you use file sharing on the N900, which is reported to sometimes corrupt the file system, or do you enable mass storage mode, while charging it via USB connected to a PC?

anim1 2011-09-18 20:16

Re: N900 internal memory corrupted.. help please
 
Quote:

Originally Posted by michaaa62 (Post 1090880)
Don't reboot:D
Well the error must be happening while closing some applications or during shutdown.
Do you use file sharing on the N900, which is reported to sometimes corrupt the file system, or do you enable mass storage mode, while charging it via USB connected to a PC?

cant do anything because even with the temporary fix the memory still says corrupted. N900 folder appears in file manager but it is usless because i cant format or save anything to it.

michaaa62 2011-09-18 21:46

Re: N900 internal memory corrupted.. help please
 
First backup everything valuable on the partition to some external media, like external microSD or your PC.
And then apply a fresh file system to it with
Code:

sudo gainroot
umount /dev/mmcblk0p1
mkfs.vfat /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs


magick777 2011-09-18 22:15

Re: N900 internal memory corrupted.. help please
 
One other semi-random thought... the only time I've had serious microSD card corruption was when I was first playing with kernel-power and experimented with the "starving" settings.

They appeared to work fine for most normal phone use and I was on the verge of replacing my microSD when I thought to check "what have I done recently?". Returning to the "ideal" voltages solved the problem and I haven't had any problems since - so, if you're doing any major undervolting, try changing that before assuming your SD card or filesystem is shot.


All times are GMT. The time now is 14:09.

vBulletin® Version 3.8.8