Some more junk

This commit is contained in:
Tastatur 2023-12-26 12:58:01 +01:00
parent 5f2353ee16
commit 8e30bdf8f9

View file

@ -87,7 +87,7 @@ To:
/usr/bin/booster build "$tmpdir"/initramfs --kernel-version "$NEW_VERSION-$FLAVOR"
```
And configure `/etc/kernel-hooks.d/secureboot.conf` for cmdline and secureboot.
And configure `/etc/kernel-hooks.d/secureboot.conf` for cmdline and secureboot.
```
cmdline="rw rd.luks.name=<uuid>=root root=/dev/vg0/aroot modules=ext4 quiet splash rd.lvm.vg=vg0"
@ -108,7 +108,6 @@ Here `<uuid>` has to be replaced with the uuid of the partition which contains o
All that's left for booting is secureboot which `sbctl` will be used for to create keys, and sign some executables with.
```
# sbctl create-keys
# sbctl enroll-keys
@ -139,6 +138,7 @@ And also remove some junk left over by grub.
```
# rm -rf /boot/efi/EFI/alpine
# rm -rf /boot/grub
# unlink /boot/boot
```
> If you have multiple operating systems installed you can change the default OS it loads into with `/boot/efi/loader/loader.conf` and adding the line: `default alpine`.