[Bug 1997001] Re: Mount the ESP on /boot for UEFI images

Thomas Bechtold 1997001 at bugs.launchpad.net
Wed May 31 09:26:14 UTC 2023


** Merge proposal linked:
   https://code.launchpad.net/~gjolly/livecd-rootfs/+git/livecd-rootfs/+merge/433639

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

Title:
  Mount the ESP on /boot for UEFI images

Status in cloud-images:
  New
Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  At the moment, on cloud-images:
   * the kernel and initramfs are stored in /boot with is part of the rootfs
   * shim and the first stage of Grub are stored on the ESP mounted on /boot/efi

  This is an issue if the user tries to encrypt the rootfs of a cloud-
  image. In that case the kernel and initramfs need to be stored on an
  un-encrypted partition.

  In theory, the user could use the ESP to store those assets. However,
  the current ESP is too small (106MiB) to store multiple kernels and
  initramfs. Moreover, to ensure compatibility with the kernel post-
  install script and grub, the ESP would have to be mounted on /boot and
  /boot/efi (where grub expects it).

  To solve those issues, we should:
   * make the ESP bigger (1GiB)
   * mount the ESP on /boot by default
   * bind-mount /boot on /boot/efi for grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1997001/+subscriptions




More information about the foundations-bugs mailing list