To reproduce this issue, consider a device with two efibootguard-boot partition labels, BOOT0
and BOOT1
. Additionally, a USB stick with a live image has the same efibootguard-boot labels. When we attempt to boot from the USB stick via the BIOS, efibootguard will load the EFI configuration from the USB stick but might boot from another volume with a matching label. The behavior appears somewhat random.
The function FileDevicePathFromConfig
does not seem to verify whether the selected device actually owns the volume; it simply matches the label and proceeds to boot from that volume.
Is this a user configuration error, or does it indicate a bug in efibootguard?
This approach ensures the boot process remains consistent, simplifying maintenance.
While we could use GRUB or another bootloader, we prefer keeping things simple by
maintaining almost identical configurations across our images.
Max.