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 it
mode - Manually create the LUKS partition
- Do a
luksOpen
on the partition - Point the installer at the "opened" partition
- Post install click "continue testing"
- Back in shell, make a
chroot
- In the
chroot
setupfstab
and grub - Close out the
chroot
and 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.
ubiquity
installer/ISO,subiquity
installer/ISO etc. Theubiquity
installer 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:05ubiquity
I think. Whatever the default installer is forubuntu-21.10-desktop-amd64.iso
– Dan Mar 05 '22 at 09:10ubiquity
is 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 ofsubiquity
but it wasn't released thus it's canary status; it wasn't ready for 21.10) – guiverc Mar 05 '22 at 09:11