> 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078307 Title: Grub 2.12 in Oracular is unable to boot Windows using chainloader To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2078307/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs