[Bug 2078307] Re: Grub 2.12 in Oracular is unable to boot Windows using chainloader

Mate Kukri 2078307 at bugs.launchpad.net
Wed Oct 9 14:51:27 UTC 2024


I suspect Windows fails to boot because the NX compatibility check, and
Ubuntu only fails to boot when you've once unsuccessfully tried booting
Windows without restarting GRUB.

Please get the set debug=peimage output from GRUB as explained above.

And also can you get the output of efibootmgr -v from under Linux.

I suspect what's going on here is an ASUS firmware bug that I have
encountered before where the firmware is creating boot entries pointing
to GRUB, bypassing shim which in turns stops shim from disabling the NX
enforcement check.

If in efibootmgr there is a higher priority boot entry pointing to
grubx64.efi then shimx64.efi, then make sure to swap it around to have
shimx64.efi first and it should magically work.

-- 
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 cd-boot-images-amd64 package in Ubuntu:
  Fix Released
Status in cd-boot-images-arm64 package in Ubuntu:
  Fix Released
Status in cd-boot-images-ppc64el package in Ubuntu:
  Fix Released
Status in cd-boot-images-riscv64 package in Ubuntu:
  Fix Released
Status in grub2 package in Ubuntu:
  Fix Released

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/cd-boot-images-amd64/+bug/2078307/+subscriptions




More information about the foundations-bugs mailing list