On 18/09/2025 05:09, Richmond wrote:
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi 
--bootloader-id=debian12
[...]
/boot/efi/EFI# ls -l
total 20
drwx------ 2 root root 4096 Oct 31  2014 Boot
drwx------ 2 root root 4096 Dec 28  2023 debian
drwx------ 2 root root 4096 Sep 17 17:13 debian12

In the case of enabled Secure Boot it does not work for grub 2.06-13 in Debian 12 bookworm. You have the following options:
- Let grub from trixie boot bookworm or vice versa by enabling os-prober.
- Install grub 2.12 from bookworm-backports.
- Change EFI/debian to e.g. EFI/debian13 for trixie (by changing GRUB_DISTRIBUTOR) - Move EFI/debian for bookworm or for trixie to the EFI partition with SUSE and use EFI/debian for both.

UEFI boot menu may still be confusing without additional tuning.

I hope, UEFI implementation ignores the "removable" EFI/Boot directory.

Reply via email to