![]() |
2012-09-07
, 18:32
|
|
Posts: 84 |
Thanked: 11 times |
Joined on Aug 2012
@ iran
|
#52
|
![]() |
2012-09-09
, 07:06
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#53
|
sudo gainroot echo "unit: sectors > /dev/mmcblk0p1 : start= 64, size= 44400640, Id=c > /dev/mmcblk0p2 : start= 44400704, size= 16777216, Id=83 > /dev/mmcblk0p3 : start= 61177920, size= 1572864, Id=82 > /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table sfdisk --no-reread /dev/mmcblk0 < table
sudo gainroot fsck -af /dev/mmcblk0p2
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2012-09-09
, 19:54
|
|
Posts: 84 |
Thanked: 11 times |
Joined on Aug 2012
@ iran
|
#54
|
Hi, sorry for the delay...
Here are the commands to try first:These are just three commands. For easier copy and paste i attach a text file with them.Code:sudo gainroot echo "unit: sectors > /dev/mmcblk1p1 : start= 64, size= 44400640, Id=c > /dev/mmcblk1p2 : start= 693761, size= 16777216, Id=83 > /dev/mmcblk1p3 : start= 955905, size= 1572864, Id=82 > /dev/mmcblk1p4 : start= 0, size= 0, Id= 0" > table sfdisk --no-reread /dev/mmcblk1 < table
Reboot and report if there are changes to the fsck procedureCode:sudo gainroot fsck -af /dev/mmcblk0p2
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 # /home/user # /home/user # echo "unit: sectors > > /dev/mmcblk1p1 : start= 64, size= 44400640, Id=c > > /dev/mmcblk1p2 : start= 693761, size= 16777216, Id=83 > > /dev/mmcblk1p3 : start= 955905, size= 1572864, Id=82 > > /dev/mmcblk1p4 : start= 0, size= 0, Id= 0" > table /home/user # /home/user # /home/user # sfdisk --no-reread /dev/mmcblk1 < table Disk /dev/mmcblk1: 121008 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/mmcblk1p1 * 0+ 121007 121008- 3872248 c W95 FAT32 (LBA) /dev/mmcblk1p2 0 - 0 0 0 Empty /dev/mmcblk1p3 0 - 0 0 0 Empty /dev/mmcblk1p4 0 - 0 0 0 Empty Warning: given size (44400640) exceeds max allowable size (7744448) sfdisk: bad input /home/user # /home/user # /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 # fsck -af /dev/mmcblk0p2 fsck 1.41.3.maemo0 (12-Oct-2008) /dev/mmcblk0p2: recovering journal fsck.ext3: unable to set superblock flags on /dev/mmcblk0p2 /home/user # /home/user #
![]() |
2012-09-09
, 20:08
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#55
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2012-09-09
, 20:18
|
|
Posts: 84 |
Thanked: 11 times |
Joined on Aug 2012
@ iran
|
#56
|
The commands were wrongly pointing to the external card, sorry, should have waited a little longer before posting
I edited above post http://talk.maemo.org/showpost.php?p...3&postcount=53 and the commands text file to point to the internal card.
Again, my apologies for causing trouble.
![]() |
2012-09-09
, 21:27
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#57
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2012-09-10
, 04:44
|
|
Posts: 84 |
Thanked: 11 times |
Joined on Aug 2012
@ iran
|
#58
|
I edited the commands and the file already! Just use the procedure once again from this post http://talk.maemo.org/showpost.php?p...3&postcount=53
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 # /home/user # /home/user # echo "unit: sectors > > /dev/mmcblk0p1 : start= 64, size= 44400640, Id=c > > /dev/mmcblk0p2 : start= 693761, size= 16777216, Id=83 > > /dev/mmcblk0p3 : start= 955905, size= 1572864, Id=82 > > /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table /home/user # /home/user # /home/user # sfdisk --no-reread /dev/mmcblk0 < table Disk /dev/mmcblk0: 982528 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 693760 693760 22200320 c W95 FAT32 (LBA) /dev/mmcblk0p2 693761 955904 262144 8388608 83 Linux /dev/mmcblk0p3 955905 980480 24576 786432 82 Linux swap / Solaris /dev/mmcblk0p4 0 - 0 0 0 Empty New situation: Units = sectors of 512 bytes, counting from 0 Device Boot Start End #sectors Id System /dev/mmcblk0p1 64 44400703 44400640 c W95 FAT32 (LBA) /dev/mmcblk0p2 693761 17470976 16777216 83 Linux /dev/mmcblk0p3 955905 2528768 1572864 82 Linux swap / Solaris /dev/mmcblk0p4 0 - 0 0 Empty Warning: partitions 1 and 2 overlap sfdisk: I don't like these partitions - nothing changed. (If you really want this, use the --force option.) /home/user # /home/user # fsck -af /dev/mmcblk0p2 fsck 1.41.3.maemo0 (12-Oct-2008) /dev/mmcblk0p2: recovering journal fsck.ext3: unable to set superblock flags on /dev/mmcblk0p2 /home/user #
![]() |
2012-09-10
, 10:48
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#59
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2012-09-10
, 11:31
|
|
Posts: 84 |
Thanked: 11 times |
Joined on Aug 2012
@ iran
|
#60
|
I could cry about the nonsense i am writing nowadays, man!
Sorry!
I changed the above post http://talk.maemo.org/showpost.php?p...3&postcount=53 for the third time, hoping that my brain now works in the same direction the N900 partitioning scheme expects...
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 # /home/user # /home/user # echo "unit: sectors > > /dev/mmcblk0p1 : start= 64, size= 44400640, Id=c > > /dev/mmcblk0p2 : start= 44400704, size= 16777216, Id=83 > > /dev/mmcblk0p3 : start= 61177920, size= 1572864, Id=82 > > /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table /home/user # /home/user # /home/user # sfdisk --no-reread /dev/mmcblk0 < table Disk /dev/mmcblk0: 982528 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 693760 693760 22200320 c W95 FAT32 (LBA) /dev/mmcblk0p2 693761 955904 262144 8388608 83 Linux /dev/mmcblk0p3 955905 980480 24576 786432 82 Linux swap / Solaris /dev/mmcblk0p4 0 - 0 0 0 Empty New situation: Units = sectors of 512 bytes, counting from 0 Device Boot Start End #sectors Id System /dev/mmcblk0p1 64 44400703 44400640 c W95 FAT32 (LBA) /dev/mmcblk0p2 44400704 61177919 16777216 83 Linux /dev/mmcblk0p3 61177920 62750783 1572864 82 Linux swap / Solaris /dev/mmcblk0p4 0 - 0 0 Empty 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 #
not error
my problem is to make partition how i can do it please ?
Last edited by azad1top; 2012-09-06 at 12:10.