How to Clear UEFI Boot Entries on My PC?

February 6, 2026 3 answers
Asked by TechWiz34
I've been trying to install Linux Mint, but first, I need to clean up my UEFI boot entries. After a failed attempt to set up Linux Mint, I've ended up with a cluttered boot menu containing configurations I no longer need. I've wiped my SSD clean, clearing out both Windows and Linux, and I want to delete unnecessary entries via efibootmgr. When I run `efibootmgr`, I see a list of boot entries, including Windows, Ubuntu, and a couple of other mysterious entries labeled as Boot0002 and Boot0006. I'm not sure what these two are โ€” any ideas? I recognize that Boot0003 is my CD/DVD drive and Boot0007 is my USB stick. I'm looking for guidance on safely removing those unknown UEFI entries!

Answers

BootMaster99
For Boot0002, it likely points to a fallback bootloader at `EFIBootbootx64.efi`, or it could just be a BIOS booting from the hard drive. If you want it gone, you might want to disable CSM or Legacy Boot, which could clean it up. Boot0006 is probably linked to a USB device. Make sure you verify these entries before you remove anything to avoid boot issues!
Reply to this answer
LinuxGuru42
You should be able to clear those entries easily! Boot0002 might be just a generic entry for fallback purposes, but if youโ€™re not using it, no harm in getting rid of it. As for Boot0006, it usually indicates a USB device that might not be relevant if itโ€™s not showing in your boot menu anymore. If it's not causing any problems, I'd suggest just leaving it be since you have your Mint installer all set up! Just double-check that nothing vital gets wiped!
Reply to this answer
ScriptNinja7
You can simplify this process using a tool I found: [EFIBOOTMGR-NVRAM-ENTRY-EDITOR](https://github.com/LINUX-OASIS/EFIBOOTMGR-NVRAM-ENTRY-EDITOR). Just download it, run the program, and you can manage your UEFI entries directly โ€” super easy! Just remember to press space to select options and then hit enter to execute.

TechWiz34: Thanks for the tip! I'm not super familiar with running scripts, though. Do I just save the file and run it in terminal with a `.sh` extension or what?

ScriptNinja7: Exactly! Just make sure it has execute permissions set. You can do that with `chmod +x filename.sh` before running it.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions