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
Support updating multiple EFIs in mirrored setups #132
Follow-up to #127 (specifically #127 (comment)). We need to update the EFI in all the devices matching the appropriate GUID, not just the one which wins the /dev/disk/by-partlabel/EFI-SYSTEM race.
Reacted by Timothée Ravier, runiq, Jordan ERNST and subnix
Activity
bgilbert commentedon Jan 7, 2021
One small correction: in the mirrored boot disk case, no partitions are labeled
EFI-SYSTEM.jlebon commentedon Dec 2, 2021
Note that just dumbly doing a type GUID match will not work for things like multipath. We solved this in
rdcoreby looking for ESPs only on the same devices which back the boot partition: https://github.com/coreos/coreos-installer/blob/78e2a7a4bf8d9ddb90b5e4fb5729a2550999ad11/src/blockdev.rs#L880-L945Would probably make sense for bootupd to use the same heuristic (or if it finds a better heuristic to use, update coreos-installer to match).
travier commentedon Jun 27, 2024
Notes for implementing this for Fedora CoreOS:
But unfortunately we might have to add more heuristics to support Anaconda installations.
travier commentedon Sep 2, 2024
As far as I could see when trying various RAID setups in Anaconda (https://docs.fedoraproject.org/en-US/fedora/f36/install-guide/install/Installing_Using_Anaconda/#sect-installation-gui-manual-partitioning-swraid), they only create a single EFI system partition.
So Fedora CoreOS should be the only case with one per disk, unless someone use manual partitioning and explicitly set up two.
See also: https://gitlab.com/fedora/ostree/sig/-/issues/1#note_2086744541
HuijingHei commentedon Sep 26, 2024
Test failed with multiple EFIs in mirrored setups (using latest bootupd in copr build):
mirror.bu is refered to doc
Support updating multiple EFIs in mirrored setups(RAID1)
Support updating multiple EFIs in mirrored setups(RAID1)
Support updating multiple EFIs in mirrored setups(RAID1)
Support updating multiple EFIs in mirrored setups(RAID1)
Support updating multiple EFIs in mirrored setups(RAID1)
Support updating multiple EFIs on mirrored setups(RAID1)
Support updating multiple EFIs on mirrored setups(RAID1)
Support updating multiple EFIs on mirrored setups(RAID1)
1 remaining item
Support updating multiple EFIs on mirrored setups(RAID1)
Support updating multiple EFIs on mirrored setups(RAID1)
Support updating multiple EFIs on mirrored setups(RAID1)
Support updating multiple EFIs on mirrored setups(RAID1)
efi: support updating multiple EFIs on mirrored setups(RAID1)
efi.rs: support updating multiple EFIs in mirrored setups(RAID1)
efi: support updating multiple EFIs in mirrored setups (RAID1)
efi: support updating multiple EFIs in mirrored setups (RAID1)
efi: support updating multiple EFIs in mirrored setups (RAID1)
efi: support updating multiple EFIs in mirrored setups (RAID1)
efi: support updating multiple EFIs in mirrored setups (RAID1)
efi: support updating multiple EFIs in mirrored setups (RAID1)