[Bug 1925002] Re: Installer crashes during manual installation with disk encryption

Jean-Baptiste Lallement 1925002 at bugs.launchpad.net
Mon Apr 19 14:39:45 UTC 2021


Right, it is related to manual/guided installation.

In manual installation mode the recovery key widget is not displayed but
the value is set still, then the code fails to detect the target
installation disk because it searches for the value set by partman-auto,
which is empty since partitioning is done manually.

The fix for 21.04 is to clear the recovery key if the field is not displayed. It's too late to do the right fix which is to display the recovery key widget even in manual partitioning.
It will be done for 21.10 (cf bug 1925032)

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

Title:
  Installer crashes during manual installation with disk encryption

Status in ubiquity package in Ubuntu:
  Fix Committed

Bug description:
  Release: Xubuntu 20210419 iso

  How to reproduce:
  1) Boot into live-session or select 'Install...' directly
  2) Choose 'Something else' for manual installation
  3) Create a partition for /boot (as encrypted /boot is not supported)
  4) Allocate rest of the space for encryption by choosing 'physical disk for encryption'. A single ext4 partition will be created as /dev/vda2_crypt, pre-selected to be formatted with ext4.
  5) Choose mount point as `/` for this partition and proceed with installation.

  Expected:
  Installation completes without errors and system is bootable.

  Actual:
  Installation crashes at around 'configuring bootloader' stage.

  EDIT: Initially checked under BIOS mode. As checked later, it also crashes under UEFI mode. For UEFI mode, following setup was used. 
  1) /dev/vda1 - ESP
  2) /dev/vda2 - /boot
  3) /dev/vda3_crypt - rest of the disk for / formatted as ext4

  
  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: ubiquity 21.04.17
  ProcVersionSignature: Ubuntu 5.11.0-14.15-generic 5.11.12
  Uname: Linux 5.11.0-14-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu65
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.461
  Date: Mon Apr 19 15:15:42 2021
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed maybe-ubiquity quiet splash ---
  LiveMediaBuild: Xubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210419)
  ProcEnviron:
   LANGUAGE=en_IN
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_IN
   LC_NUMERIC=C.UTF-8
  RebootRequiredPkgs:
   linux-image-5.11.0-14-generic
   linux-base
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list