How to rebuild kernel for WSL2 https://superuser.com/questions/1499008/load-dm-crypt-on-ubuntu-server-18-04-lts-in-windows-subsystem-for-linux-1-or-2
modprobe dm_crypt
DEVICE=$(blkid | grep LUKS | cut -f 1 -d :)
cryptsetup luksOpen -v $DEVICE qubes_dom0
cd /dev/mapper/
ln -s qubes_dom0 qubes_dom0-pool00_tmeta
vgchange -ay qubes_dom0
vgscan --mknodes
mkdir -p /mnt/media
mount /dev/mapper/qubes_dom0-vm--vault--private /mnt/media
umount /mnt/media
vgchange -an qubes_dom0
cryptsetup close qubes_dom0
Troubleshooting: missing module to mount LVM/LUKS disk
Mount luks encrypted partition manually
Other articles: