[Bug 1930778] Re: Support GRUB_ENABLE_CRYPTODISK=y when encrypting /boot or when installing Ubuntu on encrypted / only (without a /boot partition)

Avamander 1930778 at bugs.launchpad.net
Mon Nov 18 00:19:29 UTC 2024


Ubiquity installs currently fail with a fatal error when `/` is located
on an encrypted volume and `GRUB_ENABLE_CRYPTODISK=y` is not added to
`/etc/default/grub`.

This should really be done automatically.

-- 
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/1930778

Title:
  Support GRUB_ENABLE_CRYPTODISK=y when encrypting /boot or when
  installing Ubuntu on encrypted / only (without a /boot partition)

Status in ubiquity package in Ubuntu:
  Confirmed

Bug description:
  Currently, to install Ubuntu with an encrypted /boot is necessary to
  run this before the bootloader is installed:

  while [ ! -d /target/etc/default/grub.d ]; do sleep 1; done; echo
  "GRUB_ENABLE_CRYPTODISK=y" > /target/etc/default/grub

  Otherwise, the installation will crash.

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




More information about the foundations-bugs mailing list