I’ve installed fedora 31 with full disk encryption with custom partition size.
If I type right luks password all partions decrypted without issue. But if I type wrong passwod I have to type root and swap separately and for home after system login. I’m not sure what was wrong but I googled didn’t found any solutions works for me.
That’s just how it works.
When you’re doing a graphical boot and it’s time to mount encrypted partitions, systemd-ask-password-plymouth.service takes over and intercepts the passphrase requests. If the first attempt is successful and all of the partitions are encrypted with the same passphrase, you will only see one prompt, as the response is cached and it is re-entered successively. If you type the wrong passphrase, or if you have multiple passphrases for different partitions (or if you are not using plymouth) you will have to unlock them manually one by one.
I dare say I am. That said, I don’t think I’ve ever used the default partitioning scheme or lvm, except for some test days and I don’t remember what that looked like. But that should be largely irrelevant to how luks passphrases are handled at boot.
My turn to ask: are you sure?
What does lsblk say? How about journalctl -b --no-hostname | grep 'cryptsetup\|password'?
Do you mean that your user password is not accepted when you mistype the luks passphrase on your first attempt and you have to unlock your volumes one by one? If that happens even though all the “necessary” partitions have been mounted, you should file a bug against the component that handles passwords at that point in time.