Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix #230

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ vim /etc/mkinitcpio.conf #Add the "encrypt" kernel hook into the mkinitcpio conf
Secure Boot only acts on UEFI executables, initramfs is an additional file loaded as part of the kernel cmdline. As such, UEFI is not aware of the initramfs file during boot, so using Secure Boot/`sbctl` as is would leave our initramfs unsigned/unverified (and thus exploitable).

To avoid that, we need to use a [Unified Kernel Image (or UKI)](https://wiki.archlinux.org/title/Unified_kernel_image), which includes both the kernel and the initramfs in a single file, and sign that file with `sbctl` instead.
Additionally it allows to have simpler `/boot` partition (and a simpler boot chain overall), as systemd-boot [automatically look for those UKI files at boot](https://wiki.archlinux.org/title/Unified_kernel_image#systemd-boot) (meaning you don't need any additional systemd-boot config/entries).
Additionally it allows to have simpler `/boot` partition (and a simpler boot chain overall), as systemd-boot [automatically looks for those UKI files at boot](https://wiki.archlinux.org/title/Unified_kernel_image#systemd-boot) (meaning you don't need any additional systemd-boot config/entries).

```bash
vim /etc/kernel/cmdline # Add our encrypted root partition to the kernel cmdline
Expand Down