![]() |
Re: urgent -my internal memory corrupted help plz
You need rootsh installed for this to work
Code:
sudo gainroot |
Re: urgent -my internal memory corrupted help plz
Quote:
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 # fsck -af /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) fsck.ext3: Bad magic number in super-block while trying to open /dev/mmcblk0p1 /dev/mmcblk0p1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> |
Re: urgent -my internal memory corrupted help plz
@rajanmb2005,
Just an (informed) guess. It appears that mmcblk0p1 is a VFAT partition, but is marked as being a Linux (ext3) partition. As root, type "sfdisk -d" and post here the EXACT results. |
Re: urgent -my internal memory corrupted help plz
Quote:
Enter 'help' for a list of built-in commands. Nokia-N900:~# sfdisk -d # partition table of /dev/mmcblk0 unit: sectors /dev/mmcblk0p1 : start= 64, size= 64, Id=83 /dev/mmcblk0p2 : start= 56631360, size= 4194304, Id=83 /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82 /dev/mmcblk0p4 : start= 51200000, size= 5431360, Id= 5 # partition table of /dev/mmcblk1 unit: sectors /dev/mmcblk1p1 : start= 16, size= 7858160, Id= b /dev/mmcblk1p2 : start= 0, size= 0, Id= 0 /dev/mmcblk1p3 : start= 0, size= 0, Id= 0 /dev/mmcblk1p4 : start= 0, size= 0, Id= 0 Nokia-N900:~# |
Re: urgent -my internal memory corrupted help plz
dev/mmcblk0p1 should be something like ID c W95 FAT32 (LBA)
I'm not sure but I guess changing the id back with fdisk would destroy all your data on MyDocs. Did you installed backupmenu successfully? I mean do you get a small menu when booting your phone with keyboard open? If so fine, just download this file http://robbiethe1st.afraid.org/Backu...7-optfs.tar.gz copy it to your memory card in folder systemBackups. Then start backupmenu and choose (r) Restore a backup -> eMMC MyDocs (don't know exactly how it's listed there) Try it and post back... Greetz, J4ZZ |
Re: urgent -my internal memory corrupted help plz
Quote:
Am i right, that you do not want to recover some lost files from any partition, that was deleted, but want to have a usable partition for a fresh new MyDocs? Then proceed Code:
sudo gainroot Next dump it to the device Code:
sfdisk --no-reread /dev/mmcblk0 < table Please ask if anything is still unclear. |
Re: urgent -my internal memory corrupted help plz
Quote:
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 sfdisk: input error: unexpected character after size field /home/user # |
Re: urgent -my internal memory corrupted help plz
There is a typo in the echo command, sorry for that!
Code:
echo "unit: sectors |
Re: urgent -my internal memory corrupted help plz
Quote:
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 # |
Re: urgent -my internal memory corrupted help plz
Quote:
thanks to all great everything returned back thanks |
All times are GMT. The time now is 04:59. |
vBulletin® Version 3.8.8