[Bug 1995290] [NEW] Encryption not working on installation when select custom storage

Launchpad Bug Tracker 1995290 at bugs.launchpad.net
Sun Nov 13 20:12:25 UTC 2022


You have been subscribed to a public bug:

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/nvme1n1p1_crypt, missing codepage helper program, or other error.
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: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
Encryption not working on installation when select custom storage
https://bugs.launchpad.net/bugs/1995290
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to ubiquity in Ubuntu.



More information about the foundations-bugs mailing list