I'm using common "pattern" well known as LVM on LUKS. I have /dev/sda1 which is used for /boot and /dev/sda2 which is dm-crypted partition (default aes-sha512-xts). There are two lvm partitions: one for swap and one for root.
The problem is that the most guides (from gentoo and arch wikies) are telling just to add "cryptdevice", without specifying place it should be put in or giving representative example (full length working example). All I found was just parts of code which clarified nothing.
I'm a bit exausted trying different configurations. So thats why I'm asking you.
Grub.cfg image here: 3 images on imgur
UPDATE :
After some searching I've used crypt_root=… real_root=… instrad of root=…
(also I added some line to /etc/default/grub)
Now when loading it asks me to type a passphrase, but after opening it thinks that /dev/mapper/root (which is default name for crypt_root) is not valid (of course it is not).
Using shell I listed contents of /dev/mapper/ and I found that there are no LVM partitions. So that mean, that I need somehow to tell grub to also dolvm explisitly.