Partition Table
#1
Hi I was looking into a way to automate resizing the /data and /system partitions on sdcards written from the images provided. But every image I look at, the partition table is in weird layout with overlapping partitions:

Code:
Disk /dev/sdb: 59.6 GiB, 64021856256 bytes, 125042688 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
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdb1       5251072 62943230 57692159 27.5G  b W95 FAT32
/dev/sdb2  *      73728   139263    65536   32M  6 FAT16
/dev/sdb3             1  5251072  5251072  2.5G 85 Linux extended
/dev/sdb5        139264   172031    32768   16M 83 Linux
/dev/sdb6        172032   204799    32768   16M 83 Linux
/dev/sdb7        204800  3350527  3145728  1.5G 83 Linux
/dev/sdb8       3350528  3383295    32768   16M 83 Linux
/dev/sdb9       3383296  3448831    65536   32M 83 Linux
/dev/sdb10      3448832  5021695  1572864  768M 83 Linux
/dev/sdb11      5021696  5054463    32768   16M 83 Linux
/dev/sdb12      5054464  5087231    32768   16M 83 Linux
/dev/sdb13      5087232  5251071   163840   80M 83 Linux

This is a 32GB image (http://files.pine64.org/os/android/andro...4-32GB.zip) written to a 64GB sdcard.

As you can see, there is a extended partition (sdb3 here) starting right at the beginning of the medium, it contains most of the remaining partitions (logical), but there is a large primary partition tacked on to the end of that (sdb1 here) and the second primary partition (sdb2 here) is actually sitting INSIDE the extended partition... this breaks any tool people might want to use to try to resize /data and /system...
Come have a chat in the Pine IRC channel >>


Messages In This Thread
Partition Table - by xalius - 07-23-2016, 12:31 PM
RE: Partition Table - by xalius - 07-24-2016, 05:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  U-Boot, partition layout and flash kap1r0t0 13 14,314 06-02-2016, 12:31 PM
Last Post: kap1r0t0
  Expanding the /data partition in the Android sdcard Terra854 3 4,730 03-18-2016, 12:45 AM
Last Post: JulianM
  Manually resizing SD partition atoomic 1 3,900 01-30-2016, 02:02 PM
Last Post: patrickhwood

Forum Jump:


Users browsing this thread: 1 Guest(s)