Hi, first I am sorry to annoying the community of Qubes OS, but I come to you after a lot of emails and posts to get an answer of my question, but it’s like nobody now really how to setup Xen with LVM and dmcrypt.
Just to explain, I am a Gentoo user from a long while now. I am making as well a Linux distro, just I am not a beginner.
I followed the Gentoo wiki and read the Xen documentation. But I can’t found really something relevant about adding lvm and dmcrypt support for Xen.
I did a post on the Xen forum, you will found the detail about what I did : Gentoo - Failed to boot with Xen | XCP-ng and XO forum
But just to summarize: without xen, my system is able to boot my encrypted system with LVM inside. If I start Xen in the grub menu, xen start, but after it can’t recognize my encrypted partition, and finish …
I know now Xen can share the same kernel as the main system, so why this happened ? And if I need to update the xen config for dmcrypt and lvm, how can I do ?
Thanks for your consideration