Also mention systemd-cryptsetup-generator

This commit is contained in:
ItsDrike 2024-02-01 14:13:08 +01:00
parent 461839260d
commit 578559f8d2
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -276,7 +276,9 @@ only aftwerwars. This shouldn't be too annoying though, as we'lll no longer have
password, which is the only reason we'd need numlock in initramfs anyway.)
Additionally, with systemd initramfs, you shouldn't be specifying `root` nor `cryptdevice` kernel arguments, as systemd
can actually pick those up automatically (via
can actually pick those up automatically (they'll be discovered by
[systemd-cryptsetup-generator](https://wiki.archlinux.org/title/Dm-crypt/System_configuration#Using_systemd-cryptsetup-generator)
and auto-mounted from initramfs via
[systemd-gpt-auto-generator](https://wiki.archlinux.org/title/Systemd#GPT_partition_automounting)). We will however
still need the `rootflags` argument for selecting the btrfs subvolume (unless your default subvolume is the root
partition subvolume).