Boot managers and boot devices on a PC with UEFI firmware

UEFI firmware technology may have its positive aspects, but it also comes, like everything else, with its not-so positive aspects. It is not-so positive because it was a pain to figure out exactly how it works with OS boot managers and boot devices, especially when attempting to dual-boot multiple OSs on one hard drive, or even on multiple hard drives.

Instead of installing the boot files in the Master Boot Record (MBR), an entry for each OS in created in /boot/efi/EFI directory, which should be in an EFI partition. That results in a corresponding entry for each OS in the boot menu.

For example, take the entries in this screenshot, which was taken from the boot menu of a test PC, a custom-built box with an ASRock motherboard. Each OS entry represents a different installation of the OS, and not necessarily on the same hard drive. You can tell that I’ve installed Fedora a lot more times on the PC than other OSs. The AHCI P2: WDC WD5000… entry is for a 500 GB hard drive, while the ASUS… entries are for an external CD/DVD drive.
UEFI boot managers

In this screenshot, the Ut165… entries are for a 4 GB Flash stick used for installing the Linux distributions. The AHCI P3: WDC WD3200… entry is for a 320 GB hard drive.
Windows UEFI boot managers

One thing that I’ve learned about installing an OS on a PC with UEFI firmware is this. The system will not boot if the entry for the hard drive is chosen as the boot device. And that is true whether it is selected as the boot device from the boot menu, or is made the default boot device in the UEFI setup utility. In this screenshot, for example, Ubuntu 14.10 and Windows 7 are installed in dual-boot fashion on a 500 GB hard drive, which is represented by the AHCI P3: WDC WD5000… entry. The system will not boot if the AHCI P3: WDC WD5000… entry is chosen as the boot device. To boot, an entry for any of the installed OSs must be selected from the boot menu or made the default boot device.
UEFI boot managers

Knowing that UEFI is handled differently by each PC vendor, the foregoing might not even be true if your PC is not built using an ASRock motherboard, like a reader indicated in this forum post.

Related Posts

Aggregating application logs from Docker containers with Loggly Once any application, dockerized or otherwise, reaches production, log aggregation becomes one of the biggest concerns. We will be looking at a number...
2014: Ringing it in by migrating from Apache to Nginx Happy new year everybody. 2013 was brutal, but I think 2014 will be much better. I've spent the past week moving this website from a provider based...
Free Technology Academy and Free Software Foundation partner Free Software Foundation (FSF) News: The Free Technology Academy (FTA) and the Free Software Foundation (FSF) announced today their partnership in t...
Guide to Chromebook and Google account privacy settings for students I love the idea behind Chromebooks, but because of the privacy implications of using them, I just admire them from a distance. However, because of ...
Secure an Apache website with a Let’s Encrypt SSL certificate on Fedora Editor: This article was originally titled "LetsEncrypt now available in Fedora" and originally published on Fedora Magazine. For correctness, all ref...
Hone your penetration testing skills using 70+ recipes from the Kali Linux Cookbook The latest edition of Kali Linux, Kali Linux 2016.1, or Kali Rolling, was released more than a week ago. For those new here, Kali Linux is a deskto...

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 *

*