Re: how to remove unwanted old kernels.

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

 



On 12/1/23 10:06 AM, Tim via users wrote:
On Fri, 2023-12-01 at 09:11 -0700, home user wrote:
What is the current, simple, best practice, f38 way of removing the
oldest memtest, both from the hard drive (if it's there) and from
the grub menu?

It *ought* to be as simple as

dnf remove kernel.....

Where you use a specific kernel package version name.  And it does
everything.

Which is pretty much happens when you install a new kernel update and
it removed the oldest one, automatically.

You can play with the DNF configuration files to specify how many
kernels (install-only packages) to keep on your system, and let it
automatically handle this for you.  But I always suggest keeping more
than 3, I go for 5.  It might be some time before you notice that a
kernel update has caused a problem, and it's handy to be able to go
back more than just one, to test things.


Because of past problems with hard drive space when doing upgrades, I've got it set to keep 3.  (installonly_limit=3).
How do I get the full "name" of the kernel to be deleted without re-booting (so I can see the grub menu)?
--
_______________________________________________
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