You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
grub.cfg and bootuuid.cfg not synced to secondary ESPs on multi-device setups #1076
On multi-device setups (e.g. RAID 1 with an ESP per disk, or multi-disk installs via --device), grubconfigs::install() only writes grub.cfg and bootuuid.cfg to the single ESP currently mounted at /boot/efi. Secondary ESPs on other disks are left without these files. If the system boots from a disk whose ESP was not the one mounted during install, GRUB drops to a rescue shell because it cannot find its configuration.
Steps to Reproduce
Set up a multi-device configuration with an ESP on each disk (e.g. RAID 1, or install with bootupctl install --device /dev/sda --device /dev/sdb)
Run bootupctl install (or let bootc perform the install)
Inspect the ESPs on each disk
Expected Behavior
All ESPs should contain EFI/<vendor>/grub.cfg and EFI/<vendor>/bootuuid.cfg so the system can boot from any disk.
Actual Behavior
Only the ESP mounted at /boot/efi receives these files. The other ESPs have the EFI binaries (shim, grub) but are missing the GRUB configuration files, making them unable to complete the boot process.
Root Cause
grubconfigs::install() writes the static EFI grub.cfg and bootuuid.cfg into the target_root's /boot/efi/EFI/<vendor>/ directory. It has no awareness of additional ESP partitions on other devices. While efi::install() handles installing EFI binaries to all ESPs via find_colocated_esps(), the GRUB config writing step was not extended with the same multi-device logic.
Impact
Systems with redundant boot disks cannot boot from the secondary disk if the primary fails
GRUB drops to a rescue shell with no grub.cfg present
Defeats the purpose of redundant boot disk configurations
This is due to an important difference in partition layouts between CoreOS systems that use Ignition and Anaconda ones.
On CoreOS/ignition systems, the system starts with a single disk set up and then Ignition sets up the RAID as needed in the initramfs, replicating the /boot partition on each devices.
Anaconda does not use this layout for RAID setups and only creates a single /boot partition on the "first" disk of RAID setups. This apparently intentional from discussion with the bootloader team as having multiple copy of /boot means multiple copies of the config and bootloaders, etc. and this is not supported in package mode.
How did you install your system to reach such a state?
How did you install your system to reach such a state?
This was tested using bootc install to-filesystem onto a RAID1 array (software backed) where each disk has an ESP partition. This is documenting unfinished work from #1068.
Activity
grubconfigs: Sync grub.cfg and bootuuid.cfg to all ESPs on multi-devi…
grubconfigs: Sync grub.cfg and bootuuid.cfg to all ESPs on multi-devi…
travier commentedon May 26, 2026
This is due to an important difference in partition layouts between CoreOS systems that use Ignition and Anaconda ones.
On CoreOS/ignition systems, the system starts with a single disk set up and then Ignition sets up the RAID as needed in the initramfs, replicating the /boot partition on each devices.
Anaconda does not use this layout for RAID setups and only creates a single /boot partition on the "first" disk of RAID setups. This apparently intentional from discussion with the bootloader team as having multiple copy of /boot means multiple copies of the config and bootloaders, etc. and this is not supported in package mode.
How did you install your system to reach such a state?
ckyrouac commentedon Jun 2, 2026
This was tested using
bootc install to-filesystemonto a RAID1 array (software backed) where each disk has an ESP partition. This is documenting unfinished work from #1068.cgwalters commentedon Jun 2, 2026
This intersects a bit with https://redhat.atlassian.net/browse/RHEL-171401 - ideally our static grub at least for EFI is just a single binary.