Delete UEFI index on linux systems with efibootmgr

domingo, junio 12, 2016 , 0 Comments



Often, we install different Linux distributions on the real machine during the life cycle of a motherboard, and over time we realize that there are more and more entries and they don't disappear even if we had removed the partition. That's because the OS added them using UEFI.

If we type efibootmgr as root, it will shows the index:



BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0001,0000,0003,0005,0004
Boot0000* Removable Drive
Boot0001* Hard Drive
Boot0002* debian
Boot0003  ubuntu
Boot0004  linuxmint
Boot0005  arch
To delete the arch entry, we must type:


aefibootmgr -b 5 -B
Notice that 0005 is base 16 (hexadecimal numeral),  More information in this link.

0 comentarios: