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' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  
c6db3d91-f891-48a2-ae61-28ad5cc9c3a6
        else
          search --no-floppy --fs-uuid --set=root 
c6db3d91-f891-48a2-ae61-28ad5cc9c3a6
        fi
        insmod bsd
        echo    'Loading Fedora Memtest memtest86+-5.31 ...'
        knetbsd /elf-memtest86+-5.31
}
### END /etc/grub.d/20_memtest86+ ###

-----

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?

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 
$menuentry_id_option 'osprober-chain-E4C6B5A1C6B57480' {
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 
--hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'  
E4C6B5A1C6B57480
        else
          search --no-floppy --fs-uuid --set=root E4C6B5A1C6B57480
        fi
        parttool ${root} hidden-
        chainloader +1
}

-----

be the culprit?  If yes, what's the correct way to get that permanently out?
--
_______________________________________________
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