Re: Too many Kernels at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2023-08-28 at 08:08 -0400, Mauricio Tavares wrote:
> I guess using installonly_limit to tell it how many kernels to keep no
> longer works?
> 
> [raub@some-host ~]$ fgrep installonly_limit /etc/yum.conf
> # installonly_limit=5
> installonly_limit=3

YUM/DNF/RPM keeps track of what *it* has installed.  But *it* didn't
install something on a previous release.

So, if you had installed 3 versions of Fedora on the drive, and if two
releases ago you had 2 kernels, one release ago it had 3 kernels, and
this release has 4 kernels.  You have 9 kernels installed, but the
current OS only installed 4 of them.  And if your install-limit was 4,
it's just going to maintain the 4 kernels of the current release.

YUM/DNF/RPM is not counting how many kernels you have on disc, it's
counting how many kernel packages it installed.  It didn't install the
kernels of your previous releases.

How GRUB maintains itself is another matter.

Look in your /boot.

Does it contain as many kernels as the GRUB menu?  If not, it's just
GRUB you need to fix up.

If you do have a gazillion kernels, but you don't have a multi-boot
system (you just have one release, the current one).  You could delete
the old kernel files, and fix up GRUB.

If you have a gazillion kernels, and you do have a multi-boot system,
where you can boot into the previous installation.  Well, you could
boot into a prior release and deal with its kernels through
RPM/YUM/DNF.

-- 
 
uname -rsvp
Linux 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux