install failed with encrypted disk

Bug #1908058 reported by Henrik Lohse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Followed these steps to create a encrypted disk installation
https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019

Fails to install grub, with no useful information. This is a fatal error.
Installing on a dell latitude notebook e5570 from usb stick and doing a complete format of /dev/sda, a 512gb ssd.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.15.2
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckMismatches: ./pool/main/g/grub2/grub-efi-amd64_2.04-1ubuntu26.2_amd64.deb
CasperMD5CheckResult: skip
CasperVersion: 1.445.1
Date: Mon Dec 14 12:52:05 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Henrik Lohse (hennito) wrote :
Revision history for this message
Henrik Lohse (hennito) wrote :

The issue was the step
# while [ ! -d /target/etc/default/grub.d ]; do sleep 1; done; echo "GRUB_ENABLE_CRYPTODISK=y" > /target/etc/default/grub.d/local.cfg

was not started in time.

After doing it again it worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.