Similar to other people¹ in this forum² I experienced a problem after installation of an encrypted system. I used the Calamares Installer.
During the first boot, the PC got stuck during the splash screen.
After going back to the live USB and turning off “quiet” and “splash”, I saw the problem: The encryption password is requested a second time during the “openswap” hook.
People in the linked thread tried various solutions. But to me it looks like most solved it only by either turning off swap and hibernation or not encrypting it anymore. Some ( Kielcelaria) where able to solve it, but their configuration could not help others.
I think I found the culprit: /etc/openswap.config.
The option unlock_method was set to password. I set it to keyfile and double checked/fixed all other configuration arguments. Finally, I recreated the initial ramdisk with sudo mkinitcpio -P. After booting everything worked flawlessly.
I’m not sure where this comes from. I would suspect either a bug in Calamares or some kind of interplay with the openswap package files overwriting the Calamares config?
I hope someone finds this useful. It was a very frustrating setup for me and took me a couple of hours to fix, even though it was a very small change.
If I find time, I will try to have a look at the Calameres source, if it is an easy fix and/or raise a bug ticket over there.
¹anon33601770, imre84
²Manjaro xfce asks for my luks password twice during bootup
Best regards,
Lucas