3
I have a dual-boot machine, where I already set up Ubuntu in an encrypted lvm. I want to use the same lvm for Crunchbang (a debian derivative), since I designed that lvm with two root-Volumes, a swap-area and a data-volume.
I managed to get the lvm mounted in the Debian-installer (through the shell with cryptsetup and vgchange - that seemed the only possible way, since partman seems not able to do so on it's own) and I could install Crunchbang doing that.
Now the only proble I am having now is, that my Debian is not finding the lvm-group (thus not the root-Volume) - which seems only logical, because apparently it does not know it is behind an encrypted partition.
So the question is: How do I get my Debian to work now?
It seems to me that the bootloader (grub in this case) just does not know about the encryption, so if I could get it to know about it, everything would work fine. How would I achieve that?
Or - to be more to the thread-question - is there another (simpler) way of installing a Debian system onto an existing encrypted lvm?
1Consider adding some quoted reference to this answer supporting what you state in case the link ever dies so the answer content is still available that is currently only available via that link per your suggestion. – Pimp Juice IT – 2017-09-25T11:52:00.620