Tutorials/Tips

How to delete boot managers from a UEFI boot menu

This short tutorial shows how to delete boot managers from a UEFI boot menu. It might not apply to all computers, but if your computer is anything like mine and you install and reinstall Linux distributions and other operating systems as often as I do, I think you’ll like to know how to remove those boot manager entries that you no longer need.

That’s because for every operating system you install, an entry is added to the EFI System Partition (ESP), which, then, shows up in the computers boot menu. This screenshot shows what the boot menu of my main test computer looks like. At the time this screenshot was taken, only Windows 7 and Ubuntu 14.04 were installed on the hard drive connected to the computer. That hard drive is the AHCI P2: WDC WD5000… entry.
UEFI boot managers

To remove unwanted entries from the boot menu, the efibootmgr command is the userspace application to use. When logged into the installed Linux distribution, type the following command, as root, to delete a specific entry: efibootmgr -b 0003 -B. The number (0003) is the hexadecimal number representing the entry you want to delete. Those hex numbers and other details are shown in the output of the efibootmgr command. After issuing the command a couple of times on my test computer, I was able to get the boot menu down to what it looks in this screenshot. Details on this operation and also how to change the EFI boot timeout are available in this forum post.
Modify EFIbootmgr

Related Posts

Install Steam client on Fedora 18 Since everybody seems to be Steam-ing and the Steam client is not in the default Fedora 18 repository, I think the logical thing to do is write a shor...
Solution to freezing SSH sessions on Ubuntu 16.10 I manage several cloud servers via SSH, but after upgrading my main desktop to Ubuntu 16.10 (from Ubuntu 16.04), I observed that those (SSH) sessions ...
How to play Windows games in Linux So, you just started using Linux, but found out that your favorite Windows games and applications do not have a Linux edition. What should you do then...
How to install Steam Client on Fedora 20 This tutorial shows how to install Steam on Fedora 20 (install Steam on Fedora 20). Fedora 20 is the latest edition of the popular, multi-purpose Linu...
How to Install Ubuntu 13.10 on an external hard drive Installing Ubuntu 13.10 on an external hard disk drive (HDD) connected to a computer that's already running another operating system like Windows 7/8 ...
Install Ubuntu 11.10 on external hard drive, with an ntfs partition at the end How to install Ubuntu 11.04 on external hard disk, showed how to install Ubuntu 11.04 on a portable USB hard drive. This tutorial, written for Ubuntu ...

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*