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.
ubiquityinstaller/ISO,subiquityinstaller/ISO etc. Theubiquityinstaller has been available for many releases (decade+) but you've provided no specific details as to what you actually tried & had issues with. Please clarify. – guiverc Mar 05 '22 at 07:05ubiquityI think. Whatever the default installer is forubuntu-21.10-desktop-amd64.iso– Dan Mar 05 '22 at 09:10ubiquityis the default desktop installer for 21.10 (most flavors too but not Lubuntu or Ubuntu-Studio which usecalamares), Ubuntu server installer beingsubiquity(FYI: There was the canary desktop installer ISO too that uses the desktop version ofsubiquitybut it wasn't released thus it's canary status; it wasn't ready for 21.10) – guiverc Mar 05 '22 at 09:11