09-23-2016, 12:03 PM
i put an android 5.1 dd image,
dd bs=4M if=/home/dkryder/Downloads/pine64/pine64-lollipop-beta-2-lcd-dd-8.img of=/dev/mmcblk0
it boots and runs fine. i would like to recover the unused space and add to the image. using gparted i get an error message about overlapping partitions. fdisk gives me this,
sudo fdisk -l /dev/mmcblk0
[sudo] password for dkryder:
omitting empty partition (14)
Disk /dev/mmcblk0: 16.0 GB, 16021192704 bytes
1 heads, 16 sectors/track, 1955712 cylinders, total 31291392 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8b83061f
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 5251072 15194110 4971519+ b W95 FAT32
/dev/mmcblk0p2 * 73728 139263 32768 6 FAT16
/dev/mmcblk0p3 1 5251072 2625536 85 Linux extended
/dev/mmcblk0p5 139264 172031 16384 83 Linux
/dev/mmcblk0p6 172032 204799 16384 83 Linux
/dev/mmcblk0p7 204800 3350527 1572864 83 Linux
/dev/mmcblk0p8 3350528 3383295 16384 83 Linux
/dev/mmcblk0p9 3383296 3448831 32768 83 Linux
/dev/mmcblk0p10 3448832 5021695 786432 83 Linux
/dev/mmcblk0p11 5021696 5054463 16384 83 Linux
/dev/mmcblk0p12 5054464 5087231 16384 83 Linux
/dev/mmcblk0p13 5087232 5251071 81920 83 Linux
Partition table entries are not in disk order
i can see what i think might be the problem but having never been in the situation i'm not sure what to do. i found this page,
http://gparted.org/h2-fix-msdos-pt.php#o...partitions
i could use some help in what changes i need to make. thanks
dd bs=4M if=/home/dkryder/Downloads/pine64/pine64-lollipop-beta-2-lcd-dd-8.img of=/dev/mmcblk0
it boots and runs fine. i would like to recover the unused space and add to the image. using gparted i get an error message about overlapping partitions. fdisk gives me this,
sudo fdisk -l /dev/mmcblk0
[sudo] password for dkryder:
omitting empty partition (14)
Disk /dev/mmcblk0: 16.0 GB, 16021192704 bytes
1 heads, 16 sectors/track, 1955712 cylinders, total 31291392 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8b83061f
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 5251072 15194110 4971519+ b W95 FAT32
/dev/mmcblk0p2 * 73728 139263 32768 6 FAT16
/dev/mmcblk0p3 1 5251072 2625536 85 Linux extended
/dev/mmcblk0p5 139264 172031 16384 83 Linux
/dev/mmcblk0p6 172032 204799 16384 83 Linux
/dev/mmcblk0p7 204800 3350527 1572864 83 Linux
/dev/mmcblk0p8 3350528 3383295 16384 83 Linux
/dev/mmcblk0p9 3383296 3448831 32768 83 Linux
/dev/mmcblk0p10 3448832 5021695 786432 83 Linux
/dev/mmcblk0p11 5021696 5054463 16384 83 Linux
/dev/mmcblk0p12 5054464 5087231 16384 83 Linux
/dev/mmcblk0p13 5087232 5251071 81920 83 Linux
Partition table entries are not in disk order
i can see what i think might be the problem but having never been in the situation i'm not sure what to do. i found this page,
http://gparted.org/h2-fix-msdos-pt.php#o...partitions
i could use some help in what changes i need to make. thanks