205
submitted 1 year ago* (last edited 1 year ago) by TiffyBelle@feddit.uk to c/linux@lemmy.ml

Been down the rabbit hole lately of UEFI Secure Boot issues, and decided to write an overview of how it works out-of-the-box in the excellent Debian-based Linux Mint LMDE 6.

Have mostly been researching this stuff as I was looking to replace GRUB entirely with systemd-boot on one of my systems. Will likely write a follow-up piece documenting that journey if I think it'd be interesting to some nerds out there.

you are viewing a single comment's thread
view the rest of the comments
[-] henfredemars@infosec.pub 5 points 1 year ago

Perhaps I missed it when skimming the article, but why were you looking to replace GRUB?

In case it was in the article, it might be worth adding that information up here.

[-] TiffyBelle@feddit.uk 17 points 1 year ago* (last edited 1 year ago)

Good question! There's a few reasons, I guess:

  • There's a large element of "because I can" to this, just to explore how stupid the scope of systemd is as a suite.
  • There's a small practical element. GRUB itself is quite a hefty tool to accommodate all kinds of boot setups, and it works well. If you have a simple boot setup though you could probably shave a couple of seconds off of the boot time just by using the simplified sd-boot and loading the kernel via its EFIStub.
  • A learning exercise in self-signing EFI binaries, enrolling a MOK (if I use Shim), and setting up scripts to handle updates.

All boils down to my enjoyment of doing weird nerdy things though, ultimately. =)

[-] henfredemars@infosec.pub -1 points 1 year ago

In the interest of politeness I reserved my initial reaction of absolute horror that this would even be attempted by systemd.

[-] yum13241@lemm.ee 1 points 1 year ago

sysd boot doesn't just sign itself.

this post was submitted on 13 Oct 2023
205 points (99.5% liked)

Linux

47661 readers
501 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS