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