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@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