EFI Boot entries keep coming back after deletion and reboot

Hi there,

on my dual-boot machine there are several entries, which come back after reboot. I’d like to delete them permanently. This is from efibootmgr:

$ efibootmgr
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0002,0007,0008,0001,0003,0004
Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0002  Windows Boot Manager	HD(1,GPT,95f40523-74cf-4bdd-853c-75b00e12dfb8,0x800,0x32000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000065000100000010000000040000007fff0400
Boot0003* UEFI:Removable Device	BBS(130,,0x0)
Boot0004* UEFI:Network Device	BBS(131,,0x0)
Boot0006* manjaro	HD(5,GPT,35f41af0-2df6-1740-8a7c-43a15d995b79,0x800,0x96000)/\EFI\MANJARO\GRUBX64.EFI
Boot0007  UEFI OS	HD(5,GPT,35f41af0-2df6-1740-8a7c-43a15d995b79,0x800,0x96000)/\EFI\BOOT\BOOTX64.EFI0000424f
Boot0008  ubuntu	HD(1,GPT,95f40523-74cf-4bdd-853c-75b00e12dfb8,0x800,0x32000)/\EFI\UBUNTU\SHIMX64.EFI0000424f

I’d like to remove entries 1,3,4,7 and 8 and used the command efibootmgr -b <entry#> -B on them. What can I do?

Best regards

steve1

Remove CD/DVD drive then, and disable ethernet and USB ports. :stuck_out_tongue:

The only thing you can remove is the ubuntu entry. On some machines (i had that with a lenovo) the entries are automatically added if the efi file is still there. So you will have to boot from usb, mount the ESP as root and delete the ubuntu folder.

p.s. although…it seems to be on another esp so you could probably do without booting from usb. Just mount this second currently unused ESP partition (p1 that is, since you are booting from p5).