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

Luna 1930778 at bugs.launchpad.net
Fri Jun 4 01:51:49 UTC 2021


Public bug reported:

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.

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

** Summary changed:

- Support GRUB_ENABLE_CRYPTODISK=y when encrypting /boot or when choosing an encrypted / without a /boot partition
+ Support GRUB_ENABLE_CRYPTODISK=y when encrypting /boot or when installing Ubuntu on encrypted / only (without a /boot partition)

** Description changed:

- Currently, to install Ubuntu with encrypted /boot is necessary to ran
+ Currently, to install Ubuntu with an encrypted /boot is necessary to ran
  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.

** Description changed:

- Currently, to install Ubuntu with an encrypted /boot is necessary to ran
+ 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.

-- 
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:
  New

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