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

From: Nathan Dehnel <[email-masked]>
Date: Sun, 3 Mar 2024 16:45:10 -0600

The configure makes only one boot entry, and if I remove one of the
disks, it disappears from the BIOS boot options. If I make another
boot entry manually with efibootmgr, it appears as a second boot
option.

On Sun, Mar 3, 2024 at 1:31 AM Oleg Pykhalov <[email-masked]> wrote:
>
> 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.