[For the impatient: Jonathan's suggestion worked.]

Le jeu. 3 oct. 2024 à 00:03, Jonathan Billings <billi...@negate.org> a écrit :

> I don’t know if this is the case for you, but I saw a lot of F38->F39 updates 
> unintentionally install the “sdubby” and “systemd-boot-unsigned” packages.

There's no sdubby, but systemd-boot-unsigned is installed. (On
another, working F39, there's no systemd-boot-unsigned or
systemd-boot).

>
> The sdubby package drops a file in /etc/kernel that causes the %post script 
> of the kernel-common package to install kernels and bootloaderspec entries 
> into /boot/efi/$MACHINE_ID/ (where $MACHINE_ID is defined in 
> /etc/machine-id). If this directory doesn’t exist, you can ignore my post.

This directory exists and contains only a file named 'initrd', whcih
doesn't belong to any package. But since it is dated Oct 2, I may have
created it when following a random suggestion I created an initrd.

>
> If the directory exists, kernels and initrds are being installed into the EFI 
> volume, but grub2 is still set to look for kernels in /boot, and 
> bootloaderspec files in /boot/loader/entries.

I only see one kernel (the old, belonging to F38), which is in /boot.

>
> To fix this, uninstall sdubby, delete or move aside the machine ID directory 
> in /boot/efi, and run:
>
> dnf reinstall kernel-core

Even though not all the above conditions held, I went ahead and did
this. And voila, the reinstall now ran without errors, and I could
boot into the latest F39 kernel.
Thanks a lot!

Should I still uninstall systemd-boot-unsigned?

What still puzzles me is that rpm -V kernel-core-6.10.11 didn't show
any problem, even though some files it contains were missing. I can
still see this with an earlier fc39 kernel-core that I haven't
reinstalled.
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to