Re: Ineradicable EFI boot entry

Michael <[email protected]> Sun, 14 Jun 2026 23:49:51 +0100
Newsgroups gmane.linux.gentoo.user
Message-ID <[email protected]>
--nextPartXSkTYybjQlys-Au80Rx9qQ
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Michael <[email protected]>
To: [email protected]
Reply-To: [email protected]
Subject: Re: [gentoo-user] Ineradicable EFI boot entry
Date: Sun, 14 Jun 2026 23:49:51 +0100
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
MIME-Version: 1.0

On Sunday, 14 June 2026 23:15:06 British Summer Time Peter Humphrey 
wrote:
> On Sunday, 14 June 2026 20:29:40 British Summer Time David Bryant 
wrote:
> > Have you tried opening a terminal window, logging in as root, and
> > mounting the EFI partition at /mnt?
> 
> That would have been a good idea, but opensuse doesn't have an entry
> in /efi. It does appear in efibootmgr though, and the EFI BIOS offers
> to try to boot it. I just can't get rid of it from the BIOS.

From what you're describing the OpenSUSE /efi directory and its entries 
are gone, but the corresponding entry in the EFI firmware (BIOS) boot 
list is not gone yet.

Boot with a LiveUSB.  Then as Joost suggested, check the virtual 
directory '/sys/firmware/efi/efivars' is mounted with read-write access 
permissions, e.g.

 ~ $ mount | grep efivars
efivarfs on /sys/firmware/efi/efivars type efivarfs 
(rw,nosuid,nodev,noexec,relatime)

If it is not writeable remount it 'rw' and run efibootmgr to find out 
the entry number of the SUSE bootloader.  Then delete the corresponding 
XXXX entry with:

'efibootmgr -b XXXX --delete-bootnum'

If the EFI firmware is triggered at boot to scan disks and block devices 
it will flush it from the list, but instead of messing about with 
disconnecting drives it is easier to follow the above steps.

--nextPartXSkTYybjQlys-Au80Rx9qQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmovMA8bFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJELHqqvbClWcZjwEP/jRmknFdph0bZ+hCoxxl
pjUNXBCE7XGKeD4iFcKUdVLtI0DMb5QXDT1+oMDOKhP51p1GeN63AfqYSzPlN+VI
DNjyfqDBCPkB9T+uXKON7k193x+jgMm7VRNQb36ABDT3HIj9SyspDxH38J4pOSv0
B1YW8qOP5NL08Ih84L9VK/I87tgnJW6gL6dcvcCFP4aC4ph/WdRNv2F7VkW+YHcG
RySUqzSzZbUAOUMXP4v7j1mODtrk5iKz/VUSfCW5TusBV2XQpl5z2YoMzRUl/R3+
IMo2Zm1yX4+YQ9/89cpob+E2CHHybW9pVTx5pwQA4+D0uD2mbtkV2kj256tnRuzt
g8rK+ooc2WD2HqMFpr+SXw+lHCxvH/gB3mxo1zccsaSqOA1vzuUpPJ//60lEu3V6
SdOAM3O8HsYwmmCrRdwaE4iKgtUUymZ8MvqjJkz3bPvhm/WPM2dJXVKKG1IMMtDo
VPqAB/nQidtA/imMQDObtVP20wKbKFpPXzcoRysYbvddMgY4TVDs0iuHOpYH1GjF
sMl47X/NWV6MXNPJvzCXn4mVdBCLF8LKoxw2aa6H4CX/0nKQGiAG2Axsj7+/kYeB
rhABYsgKfVUGGctU3BHzVw5Bj2nUkWqzxg+z13+FIGoXMa9bnkLdQkF53ooaGh6X
sCkiyOC1RjSAQbxYvrh/wvLF
=dR3z
-----END PGP SIGNATURE-----

--nextPartXSkTYybjQlys-Au80Rx9qQ--