How to remove stale entries might depend on your BIOS (UEFI firmware).
To remove that "Grub" entry (apparently an "arch" entry) you could use (as root)
Code:
efibootmgr -b 0001 -B
That would work on all of my systems except for my Lenovo box, which would put that entry back. I think I can permanently remove then entry in the BIOS settings of that computer. Or I can remove the entire directory
Code:
rm -rf /boot/efi/EFI/grub
And then, if I use "efibootmgr" to remove the entry, the BIOS won't put it back.
NOTE: I don't know whether that is the entry you wish to remove. That's just an illustration. Most of your boot entries are for hardware or other options, and those are managed by your BIOS. You probably can't remove those.
You can also change the boot order.
Code:
efibootmgr -o 0001,0002,001F,0000,0019,001A,001B,001C,001D,001E,0020,0022,0021,0023,0024
would put the "grub" entry first. And again, on my Lenovo box that doesn't work. After reboot, the BIOS changes the order back. If I want to change the order, I have to do that in BIOS settings.
So, getting back to what you probably wanted to do:
Code:
rm -rf /boot/efi/EFI/Microsoft ## remove that directory
efibootmgr -b 0000 -B ### remove that entry
Those should be run as root.
When running openSUSE, you can use:
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
to rebuild the menu. After that, I should have an entry to boot arch. If that doesn't do the job, you might need to add an entry to "/etc/grub.d/40_custom".
When running arch, the equivalent command is probably:
Code:
grub-mkconfig -o /boot/grub/grub.cfg
although that depends on how you setup arch
When I last installed arch, I think I had it booting from a compressed grub archive in the EFI partition, and maybe the update on openSUSE won't find that to add an entry for arch.
You have not provided much actual information about your system. So I have mostly been guessing. I'm really only guessing that it is a Lenovo, and I am guessing that it might behave similarly to my Lenovo. Provide more detailed information and ask more specific questions if you need more detailed help.
I should note that where I wrote:
Code:
efibootmgr -b 0000 -B
you could instead use:
You don't need to use 4 digit numbers. I use 4 digits in examples because that better suggests what I am referring to.
Bookmarks