Grub2 confusion

I’m coming from the OpenSUSE world, where grub2 “just works”. What I’m trying to figure out is why a dual-boot system would have grub2 menu displayed minus the system I just installed.

This doesn’t seem to be related to the “auto-hide” grub-editenv - unset … issue, as the grub menu is being displayed, just doesn’t display the Fedora I just installed. My workaround is using rEFInd, but I have noticed the /boot/efi partition gradually filling up with sizeable “artifacts” containing kernel updates (which rEFInd is not finding).

So, after dnf update I have a newer kernel that can only be launched via grub2, which has no entry for either the kernel or the (rescue) version.

I think I’ve read all available docs on the subject, now I’m hoping one of you smart forum members can help me through this!

This sounds as if you’re still booting into the boot entry for your OpenSUSE bootloader?

Usually every Linux system you install will get its own boot entry in the UEFI and its own grub2 instance, so they won’t share bootloader entries.

(Doing this correctly would be quite difficult - not only because different distributions ship different versions of grub2, but also because they use different ways of configuring bootloader entries.)

Hi, @decathorpe Fabio. Thanks for the reply. No, if run grub2-mkconfig -o /boot/grub2/grub.config from within OpenSUSE, it neither sees nor inserts the Fedora boot entries. As I mentioned, my only workaround (not elegant) is to use rEFInd, which sees both the grubx64.efi and the 6.14.0-63.fc42.x86_64 kernel, but not the 6.15.3-200.fc42.x86_64 kernel that was config’ed in dnf update. There are several /boot/efi/ directories created, but evidently rEFInd cannot descend into them, and grub2 cannot display them.

I hope I am making sense here. I appreciate any help you can send my way!

Thanks,
Almo

As far as I can tell, this is the expected behaviour. When you installed Fedora on this system, you should have also gotten a second instance of grub2 installed on the system. The OpenSUSE grub2 won’t manage the entries from Fedora (and the grub2 installed by Fedora won’t manage the boot entries from OpenSUSE).

I suspect that you will see a “Fedora” boot entry if you open the UEFI boot menu.

Yes, that is true. However the Fedora Grub2 menu doesn’t have any entries for either Fedora or OpenSUSE boot options (i.e., Grub2 entries seem to be omitted).

Also a file exists /boot/grub2/earlyboot.cfg .. do you know what that file is or does?

This sounds like something has corrupted your grub2 install and / or configuration on the Fedora side. Installing new kernels should give you new boot entries. Since that doesn’t happen, something is clearly not working as intended - but what is hard to diagnose from just the symptoms you described :frowning:

Quite agree. I just hope the “something” isn’t the Fedora installer. I am probing a bit deeper into the reason these /boot/efi/ entries are created. They are clearly part of the Fedora/Grub ecosystem, and OpenSUSE, which uses a similar boot mechanism (grub2) doesn’t seem to create them.

Not sure if they are a sign of corruption themselves, or just how Fedora operates. Since I can’t boot into them directly without grub having entries for them, perhaps I can employ a SystemD-boot? I don’t think Fedora supports any bootloader except grub2 these days.

Those entries indeed don’t seem right. The contents of /boot/efi/EFI/fedora should look something like this:

drwx------. 2 root root    1024 Jun 24 10:05 .
drwx------. 5 root root    1024 Mar 14 00:00 ..
-rwx------. 1 root root     110 Mar 19  2024 BOOTX64.CSV
-rwx------. 1 root root     159 Mar  7 18:01 grub.cfg
-rwx------. 1 root root 4037952 Jun  5 01:00 grubx64.efi
-rwx------. 1 root root  848080 Mar 19  2024 mmx64.efi
-rwx------. 1 root root  949424 Mar 19  2024 shim.efi
-rwx------. 1 root root  949424 Mar 19  2024 shimx64.efi

…with nothing else present. A standard Fedora install puts the kernels and initramfs in /boot, not in /boot/efi.

There was a bug in a previous release that could result in the EFI partition being filled with files that shouldn’t be there - see: New kernels not being installed in /boot anymore - #10 by basic6

But that doesn’t explain this happening on a fresh install.

This was used by the live system and just happened to be copied over to your actual installed system.

To diagnose your case it would be helpful to get the output from these commands

sudo find /boot
cat /etc/default/grub
efibootmgr 
lsblk -f -o +PARTUUID

Thanks, @pg-tips and @vekruse! It may be the bug is still there? What has worked for me is to add GRUB_ENABLE_BLSCFG=false to /etc/default/grub, then run grub2-mkconfig -o /boot/grub2/grub.cnf. However all kernel updates seem to be going to /boot/efi/ rather than to /boot, so something going on there. If it helps I tried the installer in Fedora WS 41 (pre-Anaconda I think) and the same behavior.

Also, the grub2 configuration ended up correct on a different laptop, so that’s a bit of a clue, I think. Maybe points to something in u-code/NVRAM? I run Secure Boot on both laptops, and have tried to turn it off prior to install, but seems to make no difference with this issue.

Again, thanks all for looking at this!

cat /etc/default/grub                                                                                                                 ─╯
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="resume=UUID=a6907ab4-c1d6-4007-ae2a-00c67c37d16c rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=false
```efibootmgr                                                                                                                            ─╯
lsblk -f -o +PARTUUID
BootCurrent: 000E
Timeout: 0 seconds
BootOrder: 000E,0000,0003,0004,0001,0002,0007,0008,2001,2002,2003
Boot0000* Fedora	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\fedora\shimx64.efi
Boot0001* Linpus lite	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\Boot\grubx64.efiRC
Boot0002* openSUSE	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\opensuse\grubx64.efiRC
Boot0003* opensuse-secureboot	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\opensuse\shim.efi
Boot0004* ubuntu	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\ubuntu\shimx64.efi
Boot0007* Windows Boot Manager	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\Microsoft\Boot\bootmgfw.efiRC
Boot0008* Fedora	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\fedora\shim.efiRC
Boot000E* rEFInd Boot Manager	HD(1,GPT,ff14c81e-454f-4e6d-81c2-43c194aa270c,0x800,0x275000)/\EFI\refind\shimx64.efi.signed
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC
NAME         FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS   PARTUUID
mmcblk0                                                                                                 
└─mmcblk0p1  btrfs        duplicitous ae238d3f-4dc2-44d0-9bfe-7f3c987c4582   30.1G    46% /run/media/almo/duplicitous
                                                                                                        ba888478-01
zram0        swap   1     zram0       58347462-d05e-4261-bff3-b59df9b144e1                [SWAP]        
nvme0n1                                                                                                 
├─nvme0n1p1  vfat   FAT32 SYSTEM_DRV  4023-F36C                               1.1G     8% /boot/efi     ff14c81e-454f-4e6d-81c2-43c194aa270c
├─nvme0n1p2  ntfs                     B224FB4B24FB1159                                                  e3cf0f82-97c4-4e5e-bee0-b0d46a9207c0
├─nvme0n1p3                                                                                             f31307dd-0d3f-4487-b333-8d251f9f6baa
├─nvme0n1p4  ntfs         Windows-SSD 246225236224FB66                                                  0a6c88c2-54b5-4469-b6c1-b74d820a83e0
├─nvme0n1p5  btrfs                    e3247eb6-3e32-4782-bc0c-059b7e091ada                              7d81ade5-fb42-41b7-9c1e-aecde1a01f7a
├─nvme0n1p6  ext4   1.0   lmde        ec777f82-025d-4ff0-b687-7b6c69281f60                              7f21258d-0e2c-40cc-8107-9cc8ab0d781b
├─nvme0n1p7  ext4   1.0   mintxia     8da833ff-2aa9-479e-93c6-7acc73a0d203                              03c4ce16-f0b0-4794-9012-bc6ab542a9c6
├─nvme0n1p8  ext4   1.0   ubuntu24041 f3a136f2-0ec7-42fd-9a52-e9c88ccd2125                              5ac6ee9c-38f6-4f65-8189-72a60886a74d
├─nvme0n1p9  ext4   1.0   fedora      2e02a8d7-5f47-48e9-9d90-3d9ac7d9c884                              ab6762b8-6ba8-4636-8034-2f588ef3e843
├─nvme0n1p10 ext4   1.0   rootMX23    b01e62ff-2003-4050-adab-45adf3153e52                              9ce0911d-b5ec-a346-9b6c-123795eb8bb3
├─nvme0n1p11 ext4   1.0   boot        15bc498e-a1a6-450e-be5c-3018f083815a                              4bcac120-50b4-4741-a0fb-8c882886e77f
├─nvme0n1p12 ext4   1.0   lxhome      89530762-cc1c-4be3-9e96-eb02bb2f859d  108.2G    24% /home         5f0dffdd-5351-4ce0-9466-2ec9fc79dff6
├─nvme0n1p13 ext4   1.0   fedws       73b3dfa8-2073-4a6b-a1df-8b7c08c1685f   48.2G    14% /             80fd3586-54b7-4b36-9811-201bf62666b6
└─nvme0n1p14 swap   1     swap        a6907ab4-c1d6-4007-ae2a-00c67c37d16c                [SWAP]        8baf5180-edea-4d80-93a5-1234b58e02c3

If I’m reading your lsblk -f right, you don’t have a partition mounted at /boot ?

Yes, I have / on an ext4 partition. I previously tried creating an ext4 partition and mounting /boot, but it seemed to make no difference for this issue. In that case I was encountering errors in switching to root context and ending up in a Maintenance shell.

Exact error was

initrd-switch-root.service:

Specified switch root path ‘/sysroot’ does not seem to be an os tree. os-release file is missing

With GRUB_ENABLE_BLSCFG=false you won’t get automatic kernel install working on Fedora. But you didn’t show sudo find /boot so where the kernel is stored I can’t tell.

However, according to the UEFI boot menu you boot with rEFInd and that has its own way of finding boot entries.

See below, @vekruse. I don’t exactly know why sudo dnf update didn’t add the 6.15.3-200.fc42.x86_64 kernel to the grub menu, nor was it signed, nor why it was sent to a folder in /boot/efi rather than /boot. Main thing is rEFInd can’t deduce that linux and initrd don’t represent bootable entities, and those files aren’t signed with MOK keys (this happens automatically in OpenSUSE).

Thanks for looking in any case!

/boot
/boot/symvers-6.15.3-200.fc42.x86_64.xz
/boot/initramfs-6.14.0-63.fc42.x86_64.img
/boot/grub2
/boot/grub2/grub.cfg
/boot/grub2/grubenv
/boot/grub2/grub.cnf
/boot/grub2/earlyboot.cfg
/boot/grub2/fonts
/boot/grub2/fonts/unicode.pf2
/boot/vmlinuz-6.14.0-63.fc42.x86_64
/boot/System.map-6.14.0-63.fc42.x86_64
/boot/.vmlinuz-6.14.0-63.fc42.x86_64.hmac
/boot/efi
/boot/efi/EFI
/boot/efi/EFI/Microsoft
/boot/efi/EFI/Microsoft/Boot
/boot/efi/EFI/Microsoft/Boot/bg-BG
/boot/efi/EFI/Microsoft/Boot/bg-BG/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/bg-BG/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/memtest.efi
/boot/efi/EFI/Microsoft/Boot/FveTcg_0.log
/boot/efi/EFI/Microsoft/Boot/CIPolicies
/boot/efi/EFI/Microsoft/Boot/CIPolicies/Active
/boot/efi/EFI/Microsoft/Boot/CIPolicies/Active/{5DAC656C-21AD-4A02-AB49-649917162E70}.cip
/boot/efi/EFI/Microsoft/Boot/CIPolicies/Active/{82443e1e-8a39-4b4a-96a8-f40ddc00b9f3}.cip
/boot/efi/EFI/Microsoft/Boot/CIPolicies/Active/{CDD5CB55-DB68-4D71-AA38-3DF2B6473A52}.cip
/boot/efi/EFI/Microsoft/Boot/cs-CZ
/boot/efi/EFI/Microsoft/Boot/cs-CZ/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/cs-CZ/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/cs-CZ/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/da-DK
/boot/efi/EFI/Microsoft/Boot/da-DK/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/da-DK/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/da-DK/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/de-DE
/boot/efi/EFI/Microsoft/Boot/de-DE/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/de-DE/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/de-DE/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/el-GR
/boot/efi/EFI/Microsoft/Boot/el-GR/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/el-GR/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/el-GR/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-GB
/boot/efi/EFI/Microsoft/Boot/en-GB/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-GB/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-US
/boot/efi/EFI/Microsoft/Boot/en-US/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-US/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/en-US/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/es-ES
/boot/efi/EFI/Microsoft/Boot/es-ES/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/es-ES/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/es-ES/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/es-MX
/boot/efi/EFI/Microsoft/Boot/es-MX/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/es-MX/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/et-EE
/boot/efi/EFI/Microsoft/Boot/et-EE/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/et-EE/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/fi-FI
/boot/efi/EFI/Microsoft/Boot/fi-FI/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/fi-FI/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/fi-FI/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/fr-CA
/boot/efi/EFI/Microsoft/Boot/fr-CA/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/fr-CA/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/fr-FR
/boot/efi/EFI/Microsoft/Boot/fr-FR/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/fr-FR/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/fr-FR/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/hr-HR
/boot/efi/EFI/Microsoft/Boot/hr-HR/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/hr-HR/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/hu-HU
/boot/efi/EFI/Microsoft/Boot/hu-HU/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/hu-HU/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/hu-HU/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/it-IT
/boot/efi/EFI/Microsoft/Boot/it-IT/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/it-IT/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/it-IT/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/ja-JP
/boot/efi/EFI/Microsoft/Boot/ja-JP/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/ja-JP/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ja-JP/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/winsipolicy.p7b
/boot/efi/EFI/Microsoft/Boot/FveTcg_1.log
/boot/efi/EFI/Microsoft/Boot/FveTcg_2.log
/boot/efi/EFI/Microsoft/Boot/boot.stl
/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/kdnet_uart16550.dll
/boot/efi/EFI/Microsoft/Boot/kdstub.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_10df.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_10ec.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_1137.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_14e4.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_15b3.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_1969.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_19a2.dll
/boot/efi/EFI/Microsoft/Boot/qps-plocm
/boot/efi/EFI/Microsoft/Boot/qps-plocm/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ko-KR
/boot/efi/EFI/Microsoft/Boot/ko-KR/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/ko-KR/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ko-KR/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/lt-LT
/boot/efi/EFI/Microsoft/Boot/lt-LT/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/lt-LT/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/lv-LV
/boot/efi/EFI/Microsoft/Boot/lv-LV/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/lv-LV/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/nb-NO
/boot/efi/EFI/Microsoft/Boot/nb-NO/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/nb-NO/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/nb-NO/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/nl-NL
/boot/efi/EFI/Microsoft/Boot/nl-NL/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/nl-NL/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/nl-NL/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/pl-PL
/boot/efi/EFI/Microsoft/Boot/pl-PL/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/pl-PL/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/pl-PL/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-BR
/boot/efi/EFI/Microsoft/Boot/pt-BR/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-BR/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-BR/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-PT
/boot/efi/EFI/Microsoft/Boot/pt-PT/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-PT/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/pt-PT/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/qps-ploc
/boot/efi/EFI/Microsoft/Boot/qps-ploc/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ro-RO
/boot/efi/EFI/Microsoft/Boot/ro-RO/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/ro-RO/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/ru-RU
/boot/efi/EFI/Microsoft/Boot/ru-RU/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/ru-RU/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/ru-RU/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/sk-SK
/boot/efi/EFI/Microsoft/Boot/sk-SK/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/sk-SK/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sl-SI
/boot/efi/EFI/Microsoft/Boot/sl-SI/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/sl-SI/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sr-Latn-RS
/boot/efi/EFI/Microsoft/Boot/sr-Latn-RS/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/sr-Latn-RS/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sv-SE
/boot/efi/EFI/Microsoft/Boot/sv-SE/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/sv-SE/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/sv-SE/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/tr-TR
/boot/efi/EFI/Microsoft/Boot/tr-TR/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/tr-TR/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/tr-TR/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/uk-UA
/boot/efi/EFI/Microsoft/Boot/uk-UA/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/uk-UA/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/kd_02_1af4.dll
/boot/efi/EFI/Microsoft/Boot/zh-CN
/boot/efi/EFI/Microsoft/Boot/zh-CN/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-CN/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-CN/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-TW
/boot/efi/EFI/Microsoft/Boot/zh-TW/bootmgr.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-TW/memtest.efi.mui
/boot/efi/EFI/Microsoft/Boot/zh-TW/bootmgfw.efi.mui
/boot/efi/EFI/Microsoft/Boot/BOOTSTAT.DAT
/boot/efi/EFI/Microsoft/Boot/Fonts
/boot/efi/EFI/Microsoft/Boot/Fonts/segmono_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/segoen_slboot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/segoe_slboot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/chs_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/cht_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/jpn_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/kor_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/malgunn_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/malgun_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/meiryon_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/meiryo_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/msjhn_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/msjh_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/msyhn_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/msyh_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Fonts/wgl4_boot.ttf
/boot/efi/EFI/Microsoft/Boot/Resources
/boot/efi/EFI/Microsoft/Boot/Resources/en-US
/boot/efi/EFI/Microsoft/Boot/Resources/en-US/bootres.dll.mui
/boot/efi/EFI/Microsoft/Boot/Resources/bootres.dll
/boot/efi/EFI/Microsoft/Boot/BCD
/boot/efi/EFI/Microsoft/Boot/BCD.LOG
/boot/efi/EFI/Microsoft/Boot/BCD.LOG1
/boot/efi/EFI/Microsoft/Boot/BCD.LOG2
/boot/efi/EFI/Microsoft/Boot/kd_02_8086.dll
/boot/efi/EFI/Microsoft/Boot/kd_07_1415.dll
/boot/efi/EFI/Microsoft/Boot/kd_0C_8086.dll
/boot/efi/EFI/Microsoft/Boot/cbmr_driver.efi
/boot/efi/EFI/Microsoft/Boot/SecureBootRecovery.efi
/boot/efi/EFI/Microsoft/Boot/kd_02_1414.dll
/boot/efi/EFI/Microsoft/Boot/kd_02_15ad.dll
/boot/efi/EFI/Microsoft/Recovery
/boot/efi/EFI/Microsoft/Recovery/BCD
/boot/efi/EFI/Microsoft/Recovery/BCD.LOG
/boot/efi/EFI/Microsoft/Recovery/BCD.LOG1
/boot/efi/EFI/Microsoft/Recovery/BCD.LOG2
/boot/efi/EFI/Boot
/boot/efi/EFI/Boot/fbx64.efi
/boot/efi/EFI/Boot/mmx64.efi
/boot/efi/EFI/Boot/bkpbootx64.efi
/boot/efi/EFI/Boot/bootx64.efi
/boot/efi/EFI/Boot/grubx64.efi
/boot/efi/EFI/Boot/BOOTX64.CSV
/boot/efi/EFI/Boot/grub.cfg
/boot/efi/EFI/Boot/bootx64_uefi-bootfix-backup-2023-10-19_18-09-35.efi
/boot/efi/EFI/Boot/BOOTIA32.EFI
/boot/efi/EFI/Boot/fbia32.efi
/boot/efi/EFI/ubuntu
/boot/efi/EFI/ubuntu/grubx64.efi
/boot/efi/EFI/ubuntu/shimx64.efi
/boot/efi/EFI/ubuntu/mmx64.efi
/boot/efi/EFI/ubuntu/BOOTX64.CSV
/boot/efi/EFI/ubuntu/grub.cfg
/boot/efi/EFI/debian
/boot/efi/EFI/debian/grubx64.efi
/boot/efi/EFI/debian/mmx64.efi
/boot/efi/EFI/debian/shimx64.efi
/boot/efi/EFI/debian/fbx64.efi
/boot/efi/EFI/debian/BOOTX64.CSV
/boot/efi/EFI/debian/grub.cfg
/boot/efi/EFI/debian/canonical-uefi-ca.cer
/boot/efi/EFI/refind
/boot/efi/EFI/refind/grubx64.efi
/boot/efi/EFI/refind/drivers_x64
/boot/efi/EFI/refind/drivers_x64/btrfs_x64.efi
/boot/efi/EFI/refind/drivers_x64/ext4_x64.efi
/boot/efi/EFI/refind/mmx64.efi~
/boot/efi/EFI/refind/mmx64.efi
/boot/efi/EFI/refind/icons
/boot/efi/EFI/refind/icons/README
/boot/efi/EFI/refind/icons/arrow_left.png
/boot/efi/EFI/refind/icons/arrow_right.png
/boot/efi/EFI/refind/icons/boot_linux.png
/boot/efi/EFI/refind/icons/boot_win.png
/boot/efi/EFI/refind/icons/func_about.png
/boot/efi/EFI/refind/icons/func_bootorder.png
/boot/efi/EFI/refind/icons/func_csr_rotate.png
/boot/efi/EFI/refind/icons/func_exit.png
/boot/efi/EFI/refind/icons/func_firmware.png
/boot/efi/EFI/refind/icons/func_hidden.png
/boot/efi/EFI/refind/icons/func_install.png
/boot/efi/EFI/refind/icons/func_reset.png
/boot/efi/EFI/refind/icons/func_shutdown.png
/boot/efi/EFI/refind/icons/mouse.png
/boot/efi/EFI/refind/icons/os_arch.png
/boot/efi/EFI/refind/icons/os_artful.png
/boot/efi/EFI/refind/icons/os_bionic.png
/boot/efi/EFI/refind/icons/os_centos.png
/boot/efi/EFI/refind/icons/os_chakra.png
/boot/efi/EFI/refind/icons/os_chrome.png
/boot/efi/EFI/refind/icons/os_clover.png
/boot/efi/EFI/refind/icons/os_crunchbang.png
/boot/efi/EFI/refind/icons/os_debian.png
/boot/efi/EFI/refind/icons/os_devuan.png
/boot/efi/EFI/refind/icons/os_elementary.png
/boot/efi/EFI/refind/icons/os_endeavouros.png
/boot/efi/EFI/refind/icons/os_fedora.png
/boot/efi/EFI/refind/icons/os_freebsd.png
/boot/efi/EFI/refind/icons/os_frugalware.png
/boot/efi/EFI/refind/icons/os_gentoo.png
/boot/efi/EFI/refind/icons/os_gummiboot.png
/boot/efi/EFI/refind/icons/os_haiku.png
/boot/efi/EFI/refind/icons/os_hwtest.png
/boot/efi/EFI/refind/icons/os_kubuntu.png
/boot/efi/EFI/refind/icons/os_legacy.png
/boot/efi/EFI/refind/icons/os_linux.png
/boot/efi/EFI/refind/icons/os_linuxmint.png
/boot/efi/EFI/refind/icons/os_lubuntu.png
/boot/efi/EFI/refind/icons/os_mac.png
/boot/efi/EFI/refind/icons/os_mageia.png
/boot/efi/EFI/refind/icons/os_mandriva.png
/boot/efi/EFI/refind/icons/os_manjaro.png
/boot/efi/EFI/refind/icons/os_netbsd.png
/boot/efi/EFI/refind/icons/os_network.png
/boot/efi/EFI/refind/icons/os_opensuse.png
/boot/efi/EFI/refind/icons/os_redhat.png
/boot/efi/EFI/refind/icons/os_refind.png
/boot/efi/EFI/refind/icons/os_refit.png
/boot/efi/EFI/refind/icons/os_slackware.png
/boot/efi/EFI/refind/icons/os_suse.png
/boot/efi/EFI/refind/icons/os_systemd.png
/boot/efi/EFI/refind/icons/os_trusty.png
/boot/efi/EFI/refind/icons/os_ubuntu.png
/boot/efi/EFI/refind/icons/os_uefi.png
/boot/efi/EFI/refind/icons/os_unknown.png
/boot/efi/EFI/refind/icons/os_void.png
/boot/efi/EFI/refind/icons/os_win.png
/boot/efi/EFI/refind/icons/os_win8.png
/boot/efi/EFI/refind/icons/os_xenial.png
/boot/efi/EFI/refind/icons/os_xubuntu.png
/boot/efi/EFI/refind/icons/os_zesty.png
/boot/efi/EFI/refind/icons/tool_apple_rescue.png
/boot/efi/EFI/refind/icons/tool_fwupdate.png
/boot/efi/EFI/refind/icons/tool_memtest.png
/boot/efi/EFI/refind/icons/tool_mok_tool.png
/boot/efi/EFI/refind/icons/tool_netboot.png
/boot/efi/EFI/refind/icons/tool_part.png
/boot/efi/EFI/refind/icons/tool_rescue.png
/boot/efi/EFI/refind/icons/tool_shell.png
/boot/efi/EFI/refind/icons/tool_windows_rescue.png
/boot/efi/EFI/refind/icons/transparent.png
/boot/efi/EFI/refind/icons/vol_efi.png
/boot/efi/EFI/refind/icons/vol_external.png
/boot/efi/EFI/refind/icons/vol_internal.png
/boot/efi/EFI/refind/icons/vol_net.png
/boot/efi/EFI/refind/icons/vol_optical.png
/boot/efi/EFI/refind/keys
/boot/efi/EFI/refind/keys/SLES-UEFI-CA-Certificate.cer
/boot/efi/EFI/refind/keys/altlinux.cer
/boot/efi/EFI/refind/keys/canonical-uefi-ca.cer
/boot/efi/EFI/refind/keys/centossecureboot201.cer
/boot/efi/EFI/refind/keys/centossecurebootca2.cer
/boot/efi/EFI/refind/keys/debian.cer
/boot/efi/EFI/refind/keys/fedora-ca.cer
/boot/efi/EFI/refind/keys/microsoft-kekca-public.cer
/boot/efi/EFI/refind/keys/microsoft-pca-public.cer
/boot/efi/EFI/refind/keys/microsoft-uefica-public.cer
/boot/efi/EFI/refind/keys/openSUSE-UEFI-CA-Certificate-4096.cer
/boot/efi/EFI/refind/keys/openSUSE-UEFI-CA-Certificate.cer
/boot/efi/EFI/refind/keys/redhatsecureboot003.cer
/boot/efi/EFI/refind/keys/redhatsecureboot401.cer
/boot/efi/EFI/refind/keys/redhatsecurebootca2.cer
/boot/efi/EFI/refind/keys/redhatsecurebootca4.cer
/boot/efi/EFI/refind/keys/refind.cer
/boot/efi/EFI/refind/keys/refind_local.cer
/boot/efi/EFI/refind/keys/refind_local.crt
/boot/efi/EFI/refind/keys/popos.der
/boot/efi/EFI/refind/refind.conf
/boot/efi/EFI/refind/BOOT.CSV
/boot/efi/EFI/refind/ref.conf.bak
/boot/efi/EFI/refind/shimx64.efi.signed
/boot/efi/EFI/refind/shimx64efi.bak
/boot/efi/EFI/refind/shimx64.efi.signed~
/boot/efi/EFI/refind/icons-backup
/boot/efi/EFI/refind/icons-backup/README
/boot/efi/EFI/refind/icons-backup/arrow_left.png
/boot/efi/EFI/refind/icons-backup/arrow_right.png
/boot/efi/EFI/refind/icons-backup/boot_linux.png
/boot/efi/EFI/refind/icons-backup/boot_win.png
/boot/efi/EFI/refind/icons-backup/func_about.png
/boot/efi/EFI/refind/icons-backup/func_bootorder.png
/boot/efi/EFI/refind/icons-backup/func_csr_rotate.png
/boot/efi/EFI/refind/icons-backup/func_exit.png
/boot/efi/EFI/refind/icons-backup/func_firmware.png
/boot/efi/EFI/refind/icons-backup/func_hidden.png
/boot/efi/EFI/refind/icons-backup/func_install.png
/boot/efi/EFI/refind/icons-backup/func_reset.png
/boot/efi/EFI/refind/icons-backup/func_shutdown.png
/boot/efi/EFI/refind/icons-backup/licenses
/boot/efi/EFI/refind/icons-backup/licenses/cc-3.0.txt
/boot/efi/EFI/refind/icons-backup/licenses/cc-by-sa-4.0.txt
/boot/efi/EFI/refind/icons-backup/licenses/gpl-2.0.txt
/boot/efi/EFI/refind/icons-backup/licenses/gpl-3.0.txt
/boot/efi/EFI/refind/icons-backup/licenses/lgpl-3.0.txt
/boot/efi/EFI/refind/icons-backup/mouse.png
/boot/efi/EFI/refind/icons-backup/os_arch.png
/boot/efi/EFI/refind/icons-backup/os_artful.png
/boot/efi/EFI/refind/icons-backup/os_bionic.png
/boot/efi/EFI/refind/icons-backup/os_centos.png
/boot/efi/EFI/refind/icons-backup/os_chakra.png
/boot/efi/EFI/refind/icons-backup/os_chrome.png
/boot/efi/EFI/refind/icons-backup/os_clover.png
/boot/efi/EFI/refind/icons-backup/os_crunchbang.png
/boot/efi/EFI/refind/icons-backup/os_debian.png
/boot/efi/EFI/refind/icons-backup/os_devuan.png
/boot/efi/EFI/refind/icons-backup/os_elementary.png
/boot/efi/EFI/refind/icons-backup/os_endeavouros.png
/boot/efi/EFI/refind/icons-backup/os_fedora.png
/boot/efi/EFI/refind/icons-backup/os_freebsd.png
/boot/efi/EFI/refind/icons-backup/os_frugalware.png
/boot/efi/EFI/refind/icons-backup/os_gentoo.png
/boot/efi/EFI/refind/icons-backup/os_gummiboot.png
/boot/efi/EFI/refind/icons-backup/os_haiku.png
/boot/efi/EFI/refind/icons-backup/os_hwtest.png
/boot/efi/EFI/refind/icons-backup/os_kubuntu.png
/boot/efi/EFI/refind/icons-backup/os_legacy.png
/boot/efi/EFI/refind/icons-backup/os_linux.png
/boot/efi/EFI/refind/icons-backup/os_linuxmint.png
/boot/efi/EFI/refind/icons-backup/os_lubuntu.png
/boot/efi/EFI/refind/icons-backup/os_mac.png
/boot/efi/EFI/refind/icons-backup/os_mageia.png
/boot/efi/EFI/refind/icons-backup/os_mandriva.png
/boot/efi/EFI/refind/icons-backup/os_manjaro.png
/boot/efi/EFI/refind/icons-backup/os_netbsd.png
/boot/efi/EFI/refind/icons-backup/os_network.png
/boot/efi/EFI/refind/icons-backup/os_opensuse.png
/boot/efi/EFI/refind/icons-backup/os_redhat.png
/boot/efi/EFI/refind/icons-backup/os_refind.png
/boot/efi/EFI/refind/icons-backup/os_refit.png
/boot/efi/EFI/refind/icons-backup/os_slackware.png
/boot/efi/EFI/refind/icons-backup/os_suse.png
/boot/efi/EFI/refind/icons-backup/os_systemd.png
/boot/efi/EFI/refind/icons-backup/os_trusty.png
/boot/efi/EFI/refind/icons-backup/os_ubuntu.png
/boot/efi/EFI/refind/icons-backup/os_uefi.png
/boot/efi/EFI/refind/icons-backup/os_unknown.png
/boot/efi/EFI/refind/icons-backup/os_void.png
/boot/efi/EFI/refind/icons-backup/os_win.png
/boot/efi/EFI/refind/icons-backup/os_win8.png
/boot/efi/EFI/refind/icons-backup/os_xenial.png
/boot/efi/EFI/refind/icons-backup/os_xubuntu.png
/boot/efi/EFI/refind/icons-backup/os_zesty.png
/boot/efi/EFI/refind/icons-backup/tool_apple_rescue.png
/boot/efi/EFI/refind/icons-backup/tool_fwupdate.png
/boot/efi/EFI/refind/icons-backup/tool_memtest.png
/boot/efi/EFI/refind/icons-backup/tool_mok_tool.png
/boot/efi/EFI/refind/icons-backup/tool_netboot.png
/boot/efi/EFI/refind/icons-backup/tool_part.png
/boot/efi/EFI/refind/icons-backup/tool_rescue.png
/boot/efi/EFI/refind/icons-backup/tool_shell.png
/boot/efi/EFI/refind/icons-backup/tool_windows_rescue.png
/boot/efi/EFI/refind/icons-backup/transparent.png
/boot/efi/EFI/refind/icons-backup/vol_efi.png
/boot/efi/EFI/refind/icons-backup/vol_external.png
/boot/efi/EFI/refind/icons-backup/vol_internal.png
/boot/efi/EFI/refind/icons-backup/vol_net.png
/boot/efi/EFI/refind/icons-backup/vol_optical.png
/boot/efi/EFI/refind/refind.conf-sample
/boot/efi/EFI/refind/vars
/boot/efi/EFI/refind/vars/PreviousBoot
/boot/efi/EFI/refind/vars/HiddenTags
/boot/efi/EFI/fedora
/boot/efi/EFI/fedora/grub.cfg
/boot/efi/EFI/fedora/BOOTIA32.CSV
/boot/efi/EFI/fedora/BOOTX64.CSV
/boot/efi/EFI/fedora/gcdia32.efi
/boot/efi/EFI/fedora/gcdx64.efi
/boot/efi/EFI/fedora/grubia32.efi
/boot/efi/EFI/fedora/grubx64.efi
/boot/efi/EFI/fedora/mmia32.efi
/boot/efi/EFI/fedora/mmx64.efi
/boot/efi/EFI/fedora/shim.efi
/boot/efi/EFI/fedora/shimia32.efi
/boot/efi/EFI/fedora/shimx64.efi
/boot/efi/EFI/Insyde
/boot/efi/EFI/MX
/boot/efi/EFI/MX/grubx64.efi
/boot/efi/EFI/MX/grubx64.efi.unsigned
/boot/efi/EFI/opensuse
/boot/efi/EFI/opensuse/MokManager.efi
/boot/efi/EFI/opensuse/grub.efi
/boot/efi/EFI/opensuse/shim.efi
/boot/efi/EFI/opensuse/boot.csv
/boot/efi/EFI/opensuse/grubx64.efi
/boot/efi/EFI/opensuse/grub.cfg
/boot/efi/BOOT
/boot/efi/BOOT/BOOT.SDI
/boot/efi/System Volume Information
/boot/efi/System Volume Information/LightningSand.CFD
/boot/efi/System Volume Information/WPSettings.dat
/boot/efi/System Volume Information/IndexerVolumeGuid
/boot/efi/loader
/boot/efi/loader/entries
/boot/efi/loader/entries/Pop_OS-current.conf
/boot/efi/loader/entries/Pop_OS-oldkern.conf
/boot/efi/loader/entries/Recovery-8061-65DC.conf
/boot/efi/loader/entries/3cf988fd73224dcca5015a733b5ec457-0-rescue.conf
/boot/efi/loader/entries/3cf988fd73224dcca5015a733b5ec457-6.14.0-63.fc42.x86_64.conf
/boot/efi/loader/entries/3cf988fd73224dcca5015a733b5ec457-6.14.11-300.fc42.x86_64.conf
/boot/efi/loader/entries/3cf988fd73224dcca5015a733b5ec457-6.15.3-200.fc42.x86_64.conf
/boot/efi/loader/entries/7439d22a6de24defbd09e6a632db8d26-0-rescue.conf
/boot/efi/loader/entries/7439d22a6de24defbd09e6a632db8d26-6.14.0-63.fc42.x86_64.conf
/boot/efi/loader/entries/39b0ab4a9e934a2e996278dbb6536fa2-0-rescue.conf
/boot/efi/loader/entries/39b0ab4a9e934a2e996278dbb6536fa2-6.14.0-63.fc42.x86_64.conf
/boot/efi/loader/entries/03b30422f2cf45f8b57c971d8fdb3f8e-0-rescue.conf
/boot/efi/loader/entries/020bd175d8ca4041a62e7ec72bbcde88-0-rescue.conf
/boot/efi/loader/entries/803afe1ff4da407dad6ca7c4a9f624b2-0-rescue.conf
/boot/efi/loader/entries/6c1eb305ffdc44388cb16db309783d0c-0-rescue.conf
/boot/efi/loader/entries/c2a29c6ab8794e4d97466fb9a34ccea8-0-rescue.conf
/boot/efi/loader/entries/c2a29c6ab8794e4d97466fb9a34ccea8-6.15.3-200.fc42.x86_64.conf
/boot/efi/loader/entries/030a9f8aae2a42ed893b71d1942a47d3-0-rescue.conf
/boot/efi/loader/entries/030a9f8aae2a42ed893b71d1942a47d3-6.11.4-301.fc41.x86_64.conf
/boot/efi/loader/entries/82e39b42d56c4959b9118dfbfee84ee3-0-rescue.conf
/boot/efi/loader/entries/82e39b42d56c4959b9118dfbfee84ee3-6.14.0-63.fc42.x86_64.conf
/boot/efi/loader/entries/82e39b42d56c4959b9118dfbfee84ee3-6.15.3-200.fc42.x86_64.conf
/boot/efi/loader/loader.conf
/boot/efi/loader/random-seed
/boot/efi/loader/entries.srel
/boot/efi/chgboot
/boot/efi/$RECYCLE.BIN
/boot/efi/$RECYCLE.BIN/desktop.ini
/boot/efi/refind-vars
/boot/efi/refind-vars/PreviousBoot
/boot/efi/020bd175d8ca4041a62e7ec72bbcde88
/boot/efi/020bd175d8ca4041a62e7ec72bbcde88/6.14.0-63.fc42.x86_64
/boot/efi/020bd175d8ca4041a62e7ec72bbcde88/0-rescue
/boot/efi/020bd175d8ca4041a62e7ec72bbcde88/0-rescue/linux
/boot/efi/System
/boot/efi/System/Library
/boot/efi/System/Library/CoreServices
/boot/efi/System/Library/CoreServices/SystemVersion.plist
/boot/efi/mach_kernel
/boot/loader
/boot/loader/entries
/boot/config-6.14.0-63.fc42.x86_64
/boot/symvers-6.14.0-63.fc42.x86_64.xz

Note /boot/loader/entries is empty, whilst /boot/efi/loader/entries is chock full of ‘entries’ (should it be?). Seems grub2 isn’t picking these latter ones up when running mkconfig.

The directory /boot/efi/020bd175d8ca4041a62e7ec72bbcde88 should not exist. This directory is only used with sd-boot.

Same goes for the directory /boot/efi/loader. This directory contains a lot of machineid entries. Why? This is usually a result of multiple re-install attempt

In /etc/default/grub set GRUB_DISABLE_OS_PROBER=true and then run grub2-mkconfig -o /boot/grub2/grub.cfg

If all that is fixed, re-install the latest kernel and kernel-core and check if the kernel and initrd image shows up in the /boot directory and a corresponging configuration entry in /boot/loader/entries.

I would recommend to use the UEFI boot menu to select the alternate boot system rather than try to do this with grub2. That avoids having to deal with possible incompatible grub versions; especially the Fedora grub2 uses bls for the kernel configuration, and the others probably don’t understand that. Also, the boot menu for the alternate system are not aupdated with new kernels.

1 Like

Can you verify that grubby is installed (and sdubby is not)? Because it sounds like the wrong bootloader configuration tool is run during kernel installs.

To an the uneducated eye, I gotta say, you’ve got yourself an incredibly diverse array of bootloader files in your EFI partition! If I’m counting correctly, there are 5 distros/OSes installed on this system, not including refind.

I’m sure you’re doing your best with the bookkeeping that’s necessary to keep all of this straight, but it’s not difficult to imagine how things went awry somehow.

If it were me, I’d seriously consider settling on some smaller number, back up the entire drive to preserve my data, format and re-partition the disk, and reinstall only those distros/OSes I truly wanted to keep around. If you’re running the same DE on any of the Linux flavors, is there really a reason to have so many?

Then, if I continued to have problems, I’d come back to consult with @vekruse. :smiley:

Good luck!

2 Likes

Thanks all for the hand holding! I really am enjoying all the goodness that F42 brings me, despite the learning curve (or maybe “re-learning curve” as I was a RHEL user way back when) of dealing with various bootloaders that don’t always get along.

Also, my obstinate desire to leave Secure Boot as “shipped” is an experience of its own, and systems like Pop_Os all have quirks when kernels are updated.

Fedora is currentlly booting fine with Grub2 launched from rEFInd, however, I must now sign the hash of new kernels following sudo dnf up. I have removed all the directories from
/boot/efi you suggested “shouldn’t be there” and all kernel updates are installing to /boot/ as they should be, so I think hash-signing is a small price to pay for a solid, useable OS like Fedora42.

Thanks again for all the help all! This is a great community!

OK you are right on so many levels. One frustrating aspect of each Linux OS I try is that they each have a philosophical slant on how an OS should be booted, and the grand UNIFIED bootloader is no longer that er, unified?

So, here is the tack I took following your overall advice, on this particular laptop that seemed to have issues (and has 10-12 Windows and Linuxes booting fairly happily until I tried Fedora WS 42):

  • Removed all Fedora Partitions
  • Created a new ESP Fat32 and new /boot ext4 partitions
  • Reinstalled Fedora 42 WS to one of the now empty partitions (~50 GiB) using btrfs with anaconda’s enhanced partitioners (the 3 dots in the anaconda installer menu)
  • Installed rEFInd to the new ESP with the --shim param (shimx64 in the /boot/efi/EFI/fedora directory)
  • ran grub2-mkconfig although this wasn’t explicitly needed since rEFInd finds every kernel and can scan both EFI partitions for bootable OSes

I’m clear that having two distinct ESP partitions isn’t supposed to work; however this seems to work fine, and if it holds up for a few reboots, I’ll consider it a (very hackneyed) solution. Also, seems to have solved the issue of filling up the ESP partition with kernel updates!