check to see if the kernels are being installed under /boot/efi

if so then check this file: /etc/default/grub

and see what this is set to:
GRUB_ENABLE_BLSCFG=

If set to other that seems to cause vmlinuz/initramfs to be put under
/boot/efi and the boot cannot see those files.  I think other moves it
to systemd-boot which is a UEFI boot manager, and won't work without
some changes to how booting is done.

Change it to =true and I think that makes it work for the old boot
setup.  I think this is the change I made that fixed my machines...

Then reinstall a kernel and see if it shows up directly under /boot

On Sat, Nov 8, 2025 at 8:44 PM Samuel Sieb <[email protected]> wrote:
>
> On 11/8/25 12:39 PM, Greg Woods wrote:
> > I have an older Dell laptop where the kernel does not install correctly.
> > What I mean by that is that RPM and DNF will show that the kernel
> > packages are installed, but if I run grub2-mkconfig to generate a new
> > grub.cfg file, the new kernel is not offered as an option at boot time.
> > This has been going on since Fedora 38 was on the machine, as it is
> > still running an F38 kernel even though I recently upgraded it from F41
> > to F42. An identical Dell laptop does not have this issue and runs the
> > new F42 kernels just fine.
>
> You shouldn't be running mkconfig.  The grub config file doesn't get
> modified when you install a new kernel.  There's a boot loader entry
> added and grub loads those.
>
> > I think this is related to the fact that for the newly-installed
> > kernels, there is no vmlinuz or initramfs file for them in /boot. I did
> > check to make sure that there is enough disk space, and I can actually
> > build my own initramfs file for the newest kernel manually with dracut,
> > but this does not fix the issue (no surprise since that does not create
> > the vmlinuz file).
>
> Do you see any errors in the dnf logs?
> Try running a reinstall of the kernel-core package and see if there's
> anything.
> Does "rpm -qV kernel-core" show anything?
>
> --
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to