[Bug 2078307] Re: Grub 2.12 in Oracular is unable to boot Windows using chainloader
Mate Kukri
2078307 at bugs.launchpad.net
Wed Sep 11 12:05:00 UTC 2024
> Do you mean that if the shim does not enforce the NX flag, then Ubuntu
GRUB2 will not check the NX flag of Windows?
That is exactly correct you just need a shim that doesn't set NX flag
and doesn't enforce it.
> Or, when applying the Ubuntu patches to GRUB2, is it possible to avoid
using the patches in the NX directory? Alternatively, is there any
additional switch during the GRUB2 compilation to avoid checking the NX
flag?
It is possible, but this is a forum about Ubuntu bugs, not supporting
your downstream distribution, thus I won't be commenting on this.
> I remember that Shim 15.8 has the NX flag enabled by default. Does
that mean Ubuntu's Shim 15.8 does not have the NX flag enabled by
default?
No it does not, you need a patch to have it enabled. The current Ubuntu
15.8 shim does not have it enabled, but we are working towards a dual
shim set up where you get two different shims.
--
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/2078307
Title:
Grub 2.12 in Oracular is unable to boot Windows using chainloader
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
I am using Shim 15.8 in combination with GRUB2.12. One of the GRUB
menu items, chainloader /efi/Microsoft/Boot/bootmgfw.efi, fails to
boot, while it works correctly with GRUB2.06. Below is a screenshot of
the error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2078307/+subscriptions
More information about the foundations-bugs
mailing list