Subject: bug#69515: grub-efi-bootloader doesn't make multiple boot entries with efibootmgr if multiple targets are specified

From: Oleg Pykhalov <[email-masked]>
Date: Sun, 03 Mar 2024 10:31:26 +0300

Hi,

Nathan Dehnel <[email-masked]> writes:

>   (bootloader
>    (bootloader-configuration
>      (bootloader grub-efi-bootloader)
>      (targets '("/boot/efi1" "/boot/efi2"))
>
> This creates multiple boot partitions, but doesn't register all of
> them with the BIOS/create multiple boot entries

It appears that the reason for the issue is that the EFI file is
identical on both targets. Could this behavior actually be considered a
bug? Consider the scenario of a multi-disk system; have you attempted to
remove one of the disks and observe the boot process to determine if the
duplicated EFI file is causing unexpected behavior?

Regards,
Oleg.