UEFI Secure Boot with the Raspberry Pi

Secure Boot

© Lead Image © esom3110, 123RF.com

© Lead Image © esom3110, 123RF.com

Article from Issue 310/2026
Author(s):

Strictly speaking, the Raspberry Pi family does not support either UEFI or Secure Boot. However, with a few tricks, implementation is still possible.

Unified Extensible Firmware Interface (UEFI) [1] can be installed on older Raspberry Pi models, which was covered in a previous issue [2]. This lets you access the System Management BIOS and simplifies the use of the GRUB bootloader you know from the PC world. UEFI also provides a Secure Boot feature that prevents loading of unauthorized kernels or drivers/modules. This article shows you how to add Secure Boot.

Including its predecessor EFI, the BIOS successor UEFI is already more than 20 years old. I had my first experiences with UEFI on Unix mainframes. Back then, the PC world was still dominated by the good old BIOS, but it was quite insecure and easy to infiltrate. Also, classic BIOS did not cope well with the ever-increasing size of storage media.

UEFI promised to solve the problems, but initially went largely unnoticed, until its profile suddenly rose sharply around 2012, when Microsoft imposed a new requirement on hardware manufacturers in the context of certification for the upcoming Windows 8. Microsoft only wanted to certify machines that supported UEFI Secure Boot [3].

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy Linux Magazine

Related content

  • The State of Secure Boot

    Opinions differ on the UEFI boot security system, but one thing is certain: Secure Boot is here to stay. We thought it was time to ask, "How hard is it to boot a popular Linux distribution in a UEFI Secure Boot environment?"

  • UEFI for Raspberry Pi

    A conventional PC and the Raspberry Pi have many things in common, but the single-board computer does not natively support UEFI boot. For some models, you can change that.

  • Linux Boot Process

    If you want to troubleshoot startup issues, you need a clear understanding of how Linux boots.

  • Linux Secure Boot with Shim

    The Shim bootloader lets Linux users regain some control over the Secure Boot process.

  • UEFI Boot Fix

    A new universal workaround will keep Linux booting on the next generation of UEFI-enabled personal computers.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News