[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled
RK
2084104 at bugs.launchpad.net
Thu Oct 10 10:56:44 UTC 2024
Hi,
as requested in the comments in https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2078307 I enabled secure boot: Even when enabled Windows wont still boot from GRUB and stills says "cannot load image".
Even worse: With secure boot enabled GRUB starts in 640x480 mode and
gdm3 also ends up in 640x480, after logging in into Ubuntu the screen
stays black. Without secure boot the system runs fine. Thats really odd.
--
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/2084104
Title:
UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is
disabled
Status in grub2 package in Ubuntu:
In Progress
Bug description:
This still needs to be verified, but I have a strong hunch that this
is a bug...
Please see final comments on
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2078307
What is likely happening is that shim does not export MokPolicy when
Secure Boot is disabled, thus GRUB decides that it must always enforce
NX.
It might be a more sensible default to never enforce NX if Secure Boot
is off.
The only obvious impact right now is Windows chainloading from GRUB
when Secure Boot is disabled.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2084104/+subscriptions
More information about the foundations-bugs
mailing list