Comment on Libreboot 26.11 Released with Full UEFI Support, Drops GRUB Payload
You are viewing one comment and its replies. View all comments · View the comment above
You are viewing one comment and its replies. View all comments · View the comment above
Comments
Well, as a matter of fact, EDK2 is replacing GRUB in Libreboot, it says so in the Changelog.
You can build an alternative version with other payloads, but the default one now is EDK2.
After all, CBFS is pretty modular, so everybody can run what they want. I just don’t get why EDK2 is supposedly so awesome, GRUB is way more awesome to me for the aforementioned reasons.
The only benefit I can think of is that EDK2 can run PCI Optionroms for external graphics, but coreboot itself can do that too now and still load GRUB in text mode.
My point was that it’s not EDK2 instead of GRUB at the same layer: EDK2 is the UEFI layer, and GRUB still runs fine on top of it as an EFI binary from your ESP. All the things you listed keep working that way: LUKS, RAID, password protection, even memtest via the efi/ insert mechanism. What you lose is only having GRUB directly in CBFS without an ESP.
What you gain with EDK2: Windows boots at all, TPM 2.0 works (the SeaBIOS issues that got it disabled are gone), and option ROMs for external GPUs.
Hmm.
Having EDK2 in flash defeats the purpose of having a customized secure GRUB config, because you can just escape EDK2 to boot whatever you want.
Do you happen to know if EDK2 can be configured to only load a specific executable and prevent or password protect external boot sources?
Loading Windows… sigh. What target group that is interested in custom BIOS firmware seriously wants to ever boot Windows? I guess there are very few legitimate usecases, but FreeDOS exists.
Loading OpROMs is a capability of coreboot, no need for SeaBIOS/vgabios or EDK2 just for that.
TPM2 support is also part of coreboot? Here I am unsure.
You can configure EDK2 very restrictive, But you then have to compile libreboot by yourself with these options.E.g Ignore extern media, you can configure keys in the flash so it only can boot your grub binary from ESP. With tinkering you can make edk2 + uki (using systemd-cryptroll with measured boot etc) more secure than grub.
As far as I know there is no real standard api for TPM2, it is part of coreboot, but EDK2 has a standardized UEFI interface.
Sign in to comment. Sign in