Re: how to remove unwanted old kernels.

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

 



On 12/5/23 13:58, home user wrote:
On 12/5/23 2:24 PM, Samuel Sieb wrote:
On 12/5/23 10:06, home user wrote:
The memory test entry listed by that command is the grub menu entry that I want to keep, not the one that I want to delete.  That directory has no entry corresponding to what I want to delete.

Check in the /etc/grub2.cfg file and see if something added it directly at some point in the past.

Hmmm...

You're referring to this?...
-----

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Fedora Memtest memtest86+-5.31' {

yes.  I assume that's the grub entry you're trying to get rid of.

I *vaguely* recall seeing *somewhere* that we're supposed to *not* edit certain grub-related files.  Is this one of them?  What is the correct way to get this permanently out?

You can edit the grub2.cfg file if you want. You could also try auto-generating it again with:
grub2-mkconfig -o /boot/grub2/grub.cfg
That might clean everything up.

Hey, wow, maybe I get to kill two birds with one stone?  My grub menu also has two Windows entries.  The bad one refers to sda2.  Here in grub2.cfg, would this...

-----

menuentry 'Windows 7 (on /dev/sda2)' --class windows --class os be the culprit?  If yes, what's the correct way to get that permanently out?

Yes, and same answer as the previous.
--
_______________________________________________
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