maemo.org - Talk

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

rajanmb2005 2012-04-21 16:28

Re: urgent -my internal memory corrupted help plz
 
restoration process ended

here im in need of another problem

my old datas in the n900 could not be deleted

saying as read only file

"unable to delete" is the prompt message

somebody aware this solve me the problem

thanks

michaaa62 2012-04-21 21:00

Re: urgent -my internal memory corrupted help plz
 
Do you really feel the need for another problem:D??? Thought you had enough of fun with NitDroid...:eek:

Sorry for that cheap joke:o

Read only files and non-removable folders indicate a corrupt file system. If these files are in MyDocs folder try
Code:

sudo gainroot
umount /home/user/MyDocs
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs

If the files are in /home/user or /opt things will get more complicated, because you need to install backupmenu and boot from either BackupMenu entry and check the file system from there OR from an external PC.

Please feel free to ask if errors occur or if further questions arise.

sifo 2012-04-21 21:32

Re: urgent -my internal memory corrupted help plz
 
HI michaaa62 i just want to thank you for your efforts over this thread im sure this will still useful for ever ;)

rajanmb2005 2012-04-22 03:02

Re: urgent -my internal memory corrupted help plz
 
Quote:

Originally Posted by michaaa62 (Post 1195556)
Do you really feel the need for another problem:D??? Thought you had enough of fun with NitDroid...:eek:

Sorry for that cheap joke:o

Read only files and non-removable folders indicate a corrupt file system. If these files are in MyDocs folder try
Code:

sudo gainroot
umount /home/user/MyDocs
fsck -af /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs

If the files are in /home/user or /opt things will get more complicated, because you need to install backupmenu and boot from either BackupMenu entry and check the file system from there OR from an external PC.

Please feel free to ask if errors occur or if further questions arise.


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # umount /home/user/MyDocs
/home/user # fsck -af /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 28995223040:Invalid argument
/home/user #

michaaa62 2012-04-22 08:11

Re: urgent -my internal memory corrupted help plz
 
Please show the content of your partition table again
Code:

sudo gainroot
sfdisk -l /dev/mmcblk0

You might try to check the file system with the repair option
Code:

sudo gainroot
umount /home/user/MyDocs
fsck -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs


rajanmb2005 2012-04-22 09:30

Re: urgent -my internal memory corrupted help plz
 
Quote:

Originally Posted by michaaa62 (Post 1195711)
Please show the content of your partition table again
Code:

sudo gainroot
sfdisk -l /dev/mmcblk0

You might try to check the file system with the repair option
Code:

sudo gainroot
umount /home/user/MyDocs
fsck -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs




BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # sfdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 799999 799999 25599968 c W95 FAT32 (LBA)
/dev/mmcblk0p2 884865 950400 65536 2097152 83 Linux
/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 800000 884864 84865 2715680 5 Extended
/home/user #

rajanmb2005 2012-04-22 09:59

Re: urgent -my internal memory corrupted help plz
 
Quote:

Originally Posted by rajanmb2005 (Post 1195736)
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # sfdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 799999 799999 25599968 c W95 FAT32 (LBA)
/dev/mmcblk0p2 884865 950400 65536 2097152 83 Linux
/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 800000 884864 84865 2715680 5 Extended
/home/user #



BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # umount /home/user/MyDocs
/home/user # fsck -r /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to 28995223040:Invalid argument
/home/user #

michaaa62 2012-04-22 10:03

Re: urgent -my internal memory corrupted help plz
 
The partition table looks fine.

Did you apply the file system to the partition via command line, a remote PC or the maemo HildonFileManager?

Edit: A quick search did not reveal any solution, but to apply a fresh new file system to the partition :eek:
Is that a viable solution for you?

rajanmb2005 2012-04-22 10:24

Re: urgent -my internal memory corrupted help plz
 
Quote:

Originally Posted by michaaa62 (Post 1195755)
The partition table looks fine.

Did you apply the file system to the partition via command line, a remote PC or the maemo HildonFileManager?

Edit: A quick search did not reveal any solution, but to apply a fresh new file system to the partition :eek:
Is that a viable solution for you?

Quote:

Originally Posted by rajanmb2005 (Post 1195286)
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 51199936, Id=c
> /dev/mmcblk0p2 : start= 56631360, size= 4194304, Id=83
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 51200000, size= 5431360, Id= 5" > table
/home/user # sfdisk --no-reread /dev/mmcblk0 < table

Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 1 1 32 83 Linux
/dev/mmcblk0p2 884865 950400 65536 2097152 83 Linux
/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris
/dev/mmcblk0p4 800000 884864 84865 2715680 5 Extended
New situation:
Units = sectors of 512 bytes, counting from 0

Device Boot Start End #sectors Id System
/dev/mmcblk0p1 64 51199999 51199936 c W95 FAT32 (LBA)
/dev/mmcblk0p2 56631360 60825663 4194304 83 Linux
/dev/mmcblk0p3 60825664 62398527 1572864 82 Linux swap / Solaris
/dev/mmcblk0p4 51200000 56631359 5431360 5 Extended
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
/home/user #

sorry i cant understand

The above was the one i ve done last when i follow the echo test

what should i should next waiting for the solution friend

rajanmb2005 2012-04-22 11:09

Re: urgent -my internal memory corrupted help plz
 
echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 51199936, Id=c
> /dev/mmcblk0p2 : start= 56631360, size= 4194304, Id=83
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 51200000, size= 5431360, Id= 5" > table

sfdisk --no-reread /dev/mmcblk0 < table

plz expain the steps

after the above said

how should i apply to the file system to the MyDocs partition and add the fifth partition inside the extended fourth partition


All times are GMT. The time now is 06:13.

vBulletin® Version 3.8.8