Greg Woods composed on 2025-11-08 13:39 (UTC-0700):
> 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.
> 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).
> Does anyone have an idea of where I might look to troubleshoot this?
It sounds much like a problem I had for several releases. I don't remember how I
solved it exactly, but IIRC, it did start somewhere around F38. My problem was
and
is that all I need, that I'm conscious of, from a Fedora kernel installation, is
to populate /usr/lib/modules/, and populate /boot/ with a kernel and initramfs,
but it stopped doing that much. Eventually I discovered that the grub2-common
package was (still is?) normally required to fulfill that need. I had removed
all
grub*, because I only require one Grub installed per PC, while my installations
average upwards of 20-25 per, and Fedora's isn't the Grub I use.
The fix turned out to be either installing grub2-common, which populates
/usr/lib/kernel/install.d/ with files 20-grub.install and
99-grub-mkconfig.install, or to copy those two files from another installation
that has that package installed, or directly from the rpm, into
/etc/kernel/install.d/. Those two files I've been using for all Fedora
installations through F43 are from F40's rpm version.
It's a dirty fix in that every kernel installation produces several file not
found
errors during kernel installation, but the required population job in /boot/
gets
done, and I don't need to waste space or bandwidth upgrading several unneeded
files or packages.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
--
_______________________________________________
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