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

Why did this server run out of disk space? Less than two hours after I logged into the admin end of this website, which is powered by WordPress, the site went offline, with a 502 Bad Gateway er...
How to install Linux Mint 11 on a btrfs file system Like Ubuntu 11.04 on which it is based, Linux Mint 11 has support for btrfs, a modern journaling file system with features that are not available on t...
Tips for installing a Linux distribution on an external hard drive Installing a Linux distribution on an external hard drive should be easy and once installed, you should have no problem booting it from any computer. ...
How to make Fedora 17 more user-friendly with easyLife Because of the philosophical stance of the Fedora project's team, a default installation of Fedora 17 requires a lot more tweaking than other distribu...
Upgrading OSSEC 2.7 to 2.8 and the bro-ids rule issue 'Tis the season for upgrading. This hour, the target is OSSEC. Next will be a Cloud server running Ubuntu 12.04 LTS, which will be upgraded to Ubun...
How to dual-boot Windows 7 and Ubuntu 11.04 For those Windows users who have discovered what Linux has to offer, but for one reason or another are not ready to completely abandon Windows, dual-b...

We Recommend These Vendors

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).


Leave a Comment

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

*