[Bug 1997001] [NEW] Mount the ESP on /boot for UEFI images
Gauthier Jolly
1997001 at bugs.launchpad.net
Fri Nov 18 09:54:46 UTC 2022
Public bug reported:
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
** Affects: cloud-images
Importance: Undecided
Status: New
** Affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
** Also affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
--
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