Double entry needed for encryption password

If you use systemd-boot and a swap partition you will need to enter the encryption password twice because storing a keyfile in the initramfs is not practical. An easy way to avoid having to enter the password twice would be to remove the swap partition and instead use a swap file, which will be located inside the encrypted partition.

This came up recently in another thread if you are interested in reading through it:

2 Likes