For reference my computer is a Dell Optiplex 9020 USFF (Ultra Small Form Factor) with 16gb RAM and an ADATA SU650 SSD. Country is Mexico.
I installed 26.04.1 Desktop 64bit off a USB. Unfortunately, during the install process, before going to "Erase disk and install Ubuntu" I went to "Manual installation". In the manual installatiok section, I clicked arund on my SSD and -- not sure how I managed to forget this part -- may have changed partition table stuff or added/removed a partition. Then I went back to select "Erase disk and install Ubuntu" where I picked "Encrypt with a passphrase" for Logical Volume Management (LVM) and Linux Unified Key System (LUKS). I want to use those anf Legacy boot, not newfangled TPM and UEFI boot.
After installing, I rebooted. The computer brought me to the friendly Ubuntu GUI where I could enter my passphrase. But after so doing, the system crashed. The crash errors were the same as the ones I later received when rebooting again and again -- whether normally or in safe/recovery mode.
Those errors were primarily as shown in the post title "'/dev/mapper/ubuntu--vg-ubuntu--lv' does not exist" and "'/dev/ubuntu-vg/ubuntu-lv' does not exist". I wonder if the "lv" in those ties into LVM somehow. Typing journalctl to see the system log showed some additional possible errors. I will transcribe the only section that seems pivotal:
xxxxxxx
FAILED] Failed to start systemd-cryptsetup. Cryptography Setup for dm_crypt-0.
'systemctl status "systemd-cryptsetup@dm_crypt\\x2d0.service"' for details.
DEPEND] Dependency failed for cryptsetup.target - Local Encrypted Volumes.
OK ] Reached target sysinit.target - System Initialization.
OK ] Reached target basic.target - Basic System.
] (2 of 2) Job dracut-initqueue.servi.start running (2min 7s / no limit)
xxxxxxxx
After that, it'd crash out to the errors seen in the title.
I have a few questions.
Explain the error messages and guess at a diagnosis, prognosis?
How many partitions should my SSD have to install Ubuntu with LUKS/LVM encryption? Three - boot, swap, and one for files?
If so, which of those three does the Ubuntu installer encrypt?
Can I rely on the Ubuntu installer's "Erase disk and install Ubuntu" option to make sure my SSD has those three partitions? Especially after I screwed up tinkering with "Manual installation" in advance of "Erase disk and install Ubuntu"?
What file systems should each of the three partitions have - I like ext4 for encryption, but that might not work so well for the boot or swap partitions?
Should I boot back into the live thumb drive and see if I can install gparted and investigate the SSD that way (will do, but haven't had a chance yet). Any suggestions what I should look for?
If I boot into the live OS using the thumb drive and start up the installer, am I effectively getting a chance to start the install process over to just pick "Erase disk and install Ubuntu" and ignore "Manual installation", or need I tweak the SSD first? If tweak the SSD, how?
Any other ideas about what I should do?
Thanks!