I tried to use this very old post as a model to install directly to the LUKS mapper instead of to an LVM set on top of the mapper, but the Ubuntu 21.10 installer explicitly forbids installing to a mapper.
The basic TLDR of the old post was:
- Boot in
try itmode - Manually create the LUKS partition
- Do a
luksOpenon the partition - Point the installer at the "opened" partition
- Post install click "continue testing"
- Back in shell, make a
chroot - In the
chrootsetupfstaband grub - Close out the
chrootand reboot
Of course I'm failing on #4 since the installer wont let me install to a mapper device.
So, is there any way to use the single-partition setup that "Install alongside Windows" uses, but with LUKS enabled? Possibly through scripted installs? This is how I've gotten past some of the more exotic Microsoft prohibitions previously.