-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
Important
-
image-builder-2
-
3
-
None
When building an image with osbuild-composer, or image-builder for the ppc64le, or s390x architectures with a blueprint containing any partitioning customizations an unbootable image is produced.
See differences between no-customizations partition table which correctly contains a bootable partition of the appropriate type.
Disk no-bp/f42-no-bp.raw: 5 GiB, 5368709120 bytes, 10485760 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: 0x14fc63d2 Device Boot Start End Sectors Size Id Type no-bp/f42-no-bp.raw1 * 2048 10239 8192 4M 41 PPC PReP Boot no-bp/f42-no-bp.raw2 10240 2107391 2097152 1G 83 Linux no-bp/f42-no-bp.raw3 2107392 10485759 8378368 4G 83 Linux
And the following (which misses the appropriate bootable partition).
Disk with-bp/f42.raw: 97.01 GiB, 104159248384 bytes, 203436032 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: 0x9a37a849 Device Boot Start End Sectors Size Id Type with-bp/f42.raw1 * 2048 4095 2048 1M 0 Empty with-bp/f42.raw2 4096 4198399 4194304 2G 83 Linux with-bp/f42.raw3 4198400 203436031 199237632 95G 8e Linux LVM
which was generated with the following blueprint
[[customizations.disk.partitions]] type = "plain" label = "boot" mountpoint = "/boot" fs_type = "xfs" minsize = "2 GiB" [[customizations.disk.partitions]] type = "plain" label = "root" mountpoint = "/" fs_type = "xfs" minsize = "10 GiB"