Encryption not working on installation when select custom storage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When installation Ubuntu on a system with several disks I found a few problems when trying to customize the installation of the discs partitions using encryption.
System configuration:
Dell 5820 tower with 2 SSD (NVMe Toshiba 1TB) and 2 4TB HD (ST4000DM000)
What I am trying to install:
- Windows on one SSD and 1 HD and Ubuntu on 1 SSD (root) and 1 HD (/home)
- Encrypt the linux discs
PS: Windows is installed and working.
I tried to install using:
- 22.10 Desktop
- After select Custom installation I created the following partition:
- SSD 0:
- efi 2GB
- /boot 4GB
- ntfs with Windows
- SSD 1:
- encrypted partition and ext4 with /
- PS I was planing to have LVM but it is not available!
- HD 0:
- ntfs mounted as /windows
- HD 1:
- encrypted partition and ext4 with /home
Beside for the windows part and efi, everything was done using the customization tool within the installation.
When the installation starts I get the following error:
- The attempt to mount a file system with type ext4 in Encrypted volume (mvme1n1p1_crypt at / failed.
Under in the cms log line I see:
date/time ubuntu ubiquity: mount: /target: wrong fs type, bad option, bad superblock on /dev/mapper/
date/time ubuntu ubiquity: dmesg(1) may have more information after failed mount system call.
date/time ubuntu ubiquity: [1139.329528] EXT4-fs (dm-0): VFS: Can't find ext4 filesystem
XDG_RUNTIME_DIR (/run/user/999) is not owned by us (uid 0), but by uid 999! (This could e.g. happen if you try to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
And the installation stalls! :-/
I tried several times with a few differences but ubuntu refuses to mount the SSD encryption partition.
- 22.04 Server
I tried to do a similar things as above but the installation doesn't allow me to mount an encrypted partitions and not even create them (I tried to remove and add again but there is no option for encrypted partition)
QUESTIONS:
- Why are LVM gone from Customized Desktop partitions?
- Why are Encryption gone from server customized partitions?
affects: | ubuntu → ubiquity (Ubuntu) |
I managed to install as I described above using ubuntu 19.04 server text interface.
There I'd to create a LVM on the encrypted discs to work, after that I did updated it to the latest desktop (22.10) and everything is working.
Any version after 19 seems to have the same issues with LVM and encryption when you try to customize it, it is just not possible. :-(
And if you have several discs it gets even worse!