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

Fedora 18 and fedup Fedora 18 is still at least two months away from hitting a download mirror near you, but if you have read the articles on pre-stable versions that hav...
How to set up a Debug Server using Nginx Editor: This article was originally titled Capturing 5xx Errors with a Debug Server and published at the official blog of Nginx. No matter how ri...
Manual disk partitioning guide for BackTrack 5 R2 GNOME BackTrack Linux is now known as Kali Linux. You may read all Kali Linux articles and tutorial at http://linuxbsdos.com/category/kali-linux. BackT...
Zentyal installation guide Zentyal, the Linux distribution formerly known as eBox Platform, is a server distribution which can be used as a network gateway, unified threat manag...
Manual disk partitioning guide for Linux Mint 11 This article provides a step-by-step guide on how to create partitions on Linux Mint 11, the latest stable release of Linux Mint. And because it encom...
Install Cinnamon 1.3.1 in Fedora 16 The first article on Fedora and Cinnamon published on this website was about installing Cinnamon 1.1.3 on Fedora 16. Now that a newer version of Cinna...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

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 *

*