Public bug reported:

I was trying to install Ubuntu 25.04, downloaded on 2025-04-17, alongside 
Windows 11.
 
In the installer I chose to install Ubuntu alongside Windows and to enable disk 
encryption (LVM). When doing so the install always fails during the 
partitioning phase with the following error:

          File 
"/snap/ubuntu-desktop-bootstrap/366/lib/python3.12/site-packages/curtin/util.py",
 line 172, in _subp
            raise ProcessExecutionError(stdout=out, stderr=err,
        curtin.util.ProcessExecutionError: Unexpected error while running 
command.
        Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/nvme0n1p6', 
'dm_crypt-0', '--key-file', '/tmp/luks-key-0cx9rvao']
        Exit code: 2
        Reason: -
        Stdout: ''
        Stderr: ''
        Unexpected error while running command.
        Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/nvme0n1p6', 
'dm_crypt-0', '--key-file', '/tmp/luks-key-0cx9rvao']
        Exit code: 2
        Reason: -
        Stdout: ''
        Stderr: ''

I've included the curtin-install.log. It's notable that attempting to
use ZFS with encryption leads to the same error.

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Curtin errors"
   
https://bugs.launchpad.net/bugs/2107630/+attachment/5872627/+files/curtin-errors.tar

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107630

Title:
  Plucky installation fails when enabling discencryption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2107630/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to