Initialize empty image Create new DOS partition table ---layout---------- Disk : 20 MiB, 20971520 bytes, 40960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: dos Disk identifier: ------------------- Create primary partitions ---layout---------- Disk : 20 MiB, 20971520 bytes, 40960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: dos Disk identifier: Device Boot Start End Sectors Size Id Type 1 4096 6143 2048 1M 83 Linux 2 2048 4095 2048 1M 83 Linux 3 6144 8191 2048 1M 83 Linux 4 8192 40959 32768 16M 5 Extended Partition table entries are not in disk order. ------------------- Create logical partitions ---layout---------- Disk : 20 MiB, 20971520 bytes, 40960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: dos Disk identifier: Device Boot Start End Sectors Size Id Type 1 4096 6143 2048 1M 83 Linux 2 2048 4095 2048 1M 83 Linux 3 6144 8191 2048 1M 83 Linux 4 8192 40959 32768 16M 5 Extended 5 14336 16383 2048 1M 83 Linux 6 22528 24575 2048 1M 83 Linux 7 18432 20479 2048 1M 83 Linux 8 10240 12287 2048 1M 83 Linux Partition table entries are not in disk order. ------------------- Fix order. ---layout---------- Disk : 20 MiB, 20971520 bytes, 40960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: dos Disk identifier: Device Boot Start End Sectors Size Id Type 1 2048 4095 2048 1M 83 Linux 2 4096 6143 2048 1M 83 Linux 3 6144 8191 2048 1M 83 Linux 4 8192 40959 32768 16M 5 Extended 5 10240 12287 2048 1M 83 Linux 6 14336 16383 2048 1M 83 Linux 7 18432 20479 2048 1M 83 Linux 8 22528 24575 2048 1M 83 Linux -------------------