Thanks, the post helped me. I saw that if you encrypt the swap space, the password is requested twice. I took a virtual machine and set everything up as described above, but without allocating swap space, everything ends up being decrypted with a single password. I just use the swap file.
So, let’s put it like this
1. boot
2. root with encryption
3. Home with encryption
4. Create a swap file after installing the system.
We get decryption with one password request; it’s convenient and a lot of fun.