On Fri, May 19, 2023 at 3:05 PM home user <mattis...@comcast.net> wrote:
> bash.1[~]: rpm -q kernel
> kernel-6.2.14-200.fc37.x86_64
> kernel-6.2.15-200.fc37.x86_64
> bash.2[~]:
> ----------
> The grub menu no longer shows 6.2.9.  It still shows 6.2.10.
> The grub menu shows a 6.2.12, but the rpm -q does not.

Basically, there are 3 areas that need to be cleaned-up:
1) remove old kernels using preferred tools (i.e. "dnf remove") - this is done
2) clean up grub menu entries referencing non-existent kernels - I'm
not much help with grub - sorry!
3) remove any leftover kernel bits that may still be lurking in the
file system - something like "ls -R /boot" and note any files that
appear to be for old kernels.  You may also have kernel modules for
obsolete kernels present elsewhere (I'm sure someone else can give
proper advice for locating these)
4) optional - once you have everything else cleaned-up there is a
command you can run to regenerate the rescue kernel if desired.  I
think this may happen automatically the next time a kernel is
installed

Side note on rescue kernel - after the clean-up if you don't feel you
have the space to keep a rescue kernel lying around, you can always
use a Fedora install iso or a live image instead.
_______________________________________________
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