On Fri, 2023-12-01 at 10:28 -0700, home user wrote: > 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)?
'rpm -qa kernel' will list all the installed kernels. The one to be deleted on the next dnf update will be the oldest. poc -- _______________________________________________ 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