Setup Process
The overall setup process consists of the following steps:
- A working environment where LUKS2 can be set up and a Gentoo installation can be configured while it is not running is ready.
- The LUKS partition is created and opened from the environment.
- A Gentoo installation that can boot from the LUKS partition is configured in
the LUKS partition.
- LUKS2 and Argon2 support are enabled for software packages that will unlock the LUKS partition.
- The system is configured so that the passphrase is asked only once during boot.
- The Linux kernel is configured with support for the LUKS partition.
- To improve user experience, GRUB is configured to postpone asking for the passphrase until necessary.
- The LUKS partition’s parameters are tuned to achieve an acceptable unlock speed in GRUB.