[Bug 2018235] Re: Kernel with CONFIG_EFI_ZBOOT not supported
Julian Andres Klode
2018235 at bugs.launchpad.net
Mon May 1 14:25:57 UTC 2023
*** This bug is a duplicate of bug 2002226 ***
https://bugs.launchpad.net/bugs/2002226
** This bug has been marked a duplicate of bug 2002226
Support for kernels compiled with CONFIG_EFI_ZBOOT
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2018235
Title:
Kernel with CONFIG_EFI_ZBOOT not supported
Status in grub2 package in Ubuntu:
New
Bug description:
We use GRUB 2.06 to load kernels with an EFI stub using the linux
command. To ensure that the loaded EFI binary is really a kernel GRUB
checks for specific bytes which are not defined by the EFI
specification, e.g. on RISC-V it looks for
GRUB_LINUX_RISCV_MAGIC_SIGNATURE ('RSC\0x05').
These checks have been removed in upstream GRUB with commits
69edb3120560 ("loader/arm64/linux: Remove magic number header field
check") and 067bd35cd420 ("efi: Remove arch specific image headers for
RISC-V, ARM64 and ARM").
When compiling the arm64 or riscv64 kernel with CONFIG_EFI_ZBOOT the
kernel specific signatures are not exposed.
Please, adjust our GRUB to be compliant with the EFI specification and
to support the upstream kernel.
Best regards
Heinrich
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2018235/+subscriptions
More information about the foundations-bugs
mailing list