Fedora Account System
Red Hat Associate
Red Hat Customer
Anaconda currently has parted setting "bls_boot" flag on the partition assigned to the /boot mount point, resulting in partition type GUID BC13C2FF-59E6-4262-A352-B275FD6F7172 being set in GPT disks, and 0xEA set on MBR disks. These type codes are defined in the Boot Loader Specification https://uapi-group.org/specifications/specs/boot_loader_specification/ As a result of: https://github.com/uapi-group/specifications/pull/170 https://github.com/uapi-group/specifications/pull/174 https://github.com/systemd/systemd/pull/39267 When /boot is used in conformance with the BLS: * XBOOTLDR must be vfat * /boot, /efi, and /boot/efi entries in fstab are omitted (systemd-gpt-auto-generator handles the mounting of ESP and XBOOTLDR on demand) The idea is XBOOTLDR is really an extension of the EFI system partition (ESP), in case the ESP is too small contain the kernels, initramfs, and boot loader configuration files indicated in the spec. And therefore both ESP and XBOOTLDR must be "vfat" according to these spec clarifications. I think for now it's enough to stop setting the type codes on the boot partition to avoid confusion with fully BLS compliant setups. And instead use generic Linux partition type codes: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 0x83 Future: Question 1: should anaconda set these partition type codes anytime the /boot mount point volume format is set to "vfat"? Or only if an inst. or kickstart command is set to indicate full compliance with the BLS spec is desired? Full compliance has further rules such as omitting /boot and /boot/efi from fstab, and the organization of files and directories on these volumes. Question 2: should inst.sd-boot imply full BLS compliance? Probably. But not necessarily vice versa since other bootloader are working on enabling BLS support.
upstream PR: https://github.com/storaged-project/blivet/pull/1434 > Anaconda currently has parted setting "bls_boot" flag on the partition assigned to the /boot mount point, resulting in partition type GUID BC13C2FF-59E6-4262-A352-B275FD6F7172 being set in GPT disks, and 0xEA set on MBR disks. We are not using the parted flag here, we are setting the GUID directly so this should be a problem only with GPT. I checked with MBR/MSDOS partition table and partition type for /boot is not set 0xEA.