Remove old EFI entries from Boot Menu
Posted: Sat Dec 01, 2018 12:38 am
In my case it happened when I removed everything Ubuntu related from the drive after a failed install. A BIOS has some NAND ram where it stores information about all those bootloaders. Often forgetting to delete it when you remove a system. To purge this list we will use a special utility for that. In Linux, that is efibootmgr, but as currently I don’t have Ubuntu installed, we’ll use Windows. In Windows the utility is called bcedit.exe
Run it with this command.
It will produce a list of all entries in the BCD store. Export the list
and make a backup copy just in case.
Now copy and paste the IDs of the unused entries and delete them one at a time by this command.
After you removed all unwanted, save the file with this command.
That’s it. You won’t see those entries anymore on next reboot.
Run it with this command.
Code: Select all
bcdedit /enum firmware
Code: Select all
bcdedit /export newbcd
Code: Select all
copy newbcd bcdbackup
Code: Select all
bcdedit /store newbcd /delete {….-….-….}
Code: Select all
bcdedit /import newbcd /clean