[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2025-03-12 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~tobhe/ubuntu/+source/grub2/+git/grub2-1/+merge/482735 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI GRUB2 enforces NX ev

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-11-28 Thread Mate Kukri
If Windows wasn't present at Ubuntu installation time, you need to manually enable os-prober in /etc/default/grub and then run update-grub. Either way this bug isn't about that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-11-28 Thread Patryk "LeadMan" Benderz
Hi, I have version 2.12-5ubuntu5.1 but that still do not detect Windows located on separate SSD (Linux is on NVME) I did os-prober and update-grub(2) Grub console doesn't even show on startup of PC - it directly boots to Ubuntu -- You received this bug notification because you are a member of Ub

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-11-04 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2-unsigned - 2.12-5ubuntu5.1 --- grub2-unsigned (2.12-5ubuntu5.1) oracular; urgency=medium * riscv: use time register in grub_efi_get_time_ms() (LP: #2076651) * Defer NX policy enforcement to shim (LP: #2084104) * Source package generated fr

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-11-04 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.12-5ubuntu5.1 --- grub2 (2.12-5ubuntu5.1) oracular; urgency=medium * riscv: use time register in grub_efi_get_time_ms() (LP: #2076651) * Defer NX policy enforcement to shim (LP: #2084104) -- Mate Kukri Fri, 11 Oct 2024 10:03:49 +0100

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-11-02 Thread Teodor Milkov
After upgrading my ThinkPad x260 to Ubuntu 24.10, I was no longer able to boot older kernels. (I need to do that because the latest kernel where suspend/resume works is 6.5.) With the fix from oracular-proposed, I can boot older kernels again. -- You received this bug notification because you are

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-11-02 Thread yprgwt
Thanks for the solution. It worked perfect for me! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI GRUB2 enforces NX even with a non-NX shim To manage notifications about this bug

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-30 Thread RK
Yes. It fixed it for me, too. Thank you a lot for taking care of this. You guys are making the world a better place for all of us :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEF

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-29 Thread Diego Veríssimo Lakatos
The packages on oracular-proposed worked for me as well! Thanks for solving this problem -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI GRUB2 enforces NX even with a non-NX shim

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-29 Thread And NIr
The fix using the oracular-proposed packages worked for me too! I'm using a Thinkpad E570, dual boot with Windows 10. Thanks a lot for for your work on this! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-28 Thread David Spoelstra
1. In the "Software & Updates" app, enable "Pre-released updates (oracular-proposed) in the "Developer Options" tab. 2. On the command line, run: sudo apt install -t oracular-proposed grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-efi-amd64-unsigned grub2-common That worked perfectly

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-27 Thread Pascal Schwarz
The fix worked for me (on an Asus B650E-E mainboard), after enabling proposed updates I updated the packages using sudo apt install -t oracular-proposed grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-efi-amd64-unsigned grub2-common -- You received this bug notification because you are

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-26 Thread Rovano
easy way direct boot from UEFI menu example: efibootmgr -c -L "Windows 10" -l '\EFI\Microsoft\boot\bootmgfw.efi' hard way a) apt install -t oracular-proposed grub-common  grub-efi-amd64-bin   grub-efi-amd64-signed  grub-efi-amd64-unsigned  grub-pc  grub-pc-bin   grub2-common b)or full update all

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-26 Thread Mate Kukri
@bjmi See comment #13 for how to test a proposed package. It will also be available as a regular update in Oracular once the SRU team has approved its migration to oracular-updates. If you don't want to install the proposed package, you should also be able to boot Windows from your firmware boot

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-25 Thread Björn
How can I install the bugfix now as I have to boot into Windows again for my work. Any help would be appreciated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI GRUB2 enforces NX

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-22 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.12-5ubuntu5.1 --- grub2 (2.12-5ubuntu5.1) oracular; urgency=medium * riscv: use time register in grub_efi_get_time_ms() (LP: #2076651) * Defer NX policy enforcement to shim (LP: #2084104) -- Mate Kukri Fri, 11 Oct 2024 10:03:49 +0100

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-22 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2-unsigned - 2.12-5ubuntu5.1 --- grub2-unsigned (2.12-5ubuntu5.1) oracular; urgency=medium * riscv: use time register in grub_efi_get_time_ms() (LP: #2076651) * Defer NX policy enforcement to shim (LP: #2084104) * Source package generated fr

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-22 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2-signed - 1.209.1 --- grub2-signed (1.209.1) oracular; urgency=medium * Rebuild against grub2 2.12-5ubuntu5.1 (LP: #2076651) (LP: #2084104) -- Mate Kukri Fri, 11 Oct 2024 11:30:58 +0100 -- You received this bug notification because you ar

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-16 Thread Mate Kukri
@ubuntu-sru Verified in a clean Windows 10 + Oracular dual boot VM, but also see previous verifications on real hw above. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-15 Thread Ryan Hurley
Hey folks, I installed the same sets of packages as Tobias, and the bug also appears to be fixed for me. Test plan steps 1-8 ran as expected and passed. Package details: Package: grub-efi-amd64 Architecture: amd64 Version: 2.12-5ubuntu5.1 Package: grub-efi-amd64-bin Architecture: amd64 Version

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-15 Thread Rovano
Hello, all steps succesfully done but in step 7 im succesfully booting Windows. 'update-grub' not needed in step 6? My updated packages: grub-common  grub-efi-amd64-bin  grub-efi-amd64-signed  grub-efi-amd64-unsigned  grub-pc  grub-pc-bin  grub2-common Used for testing: mobo 2012 (BIOS 2013) O

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-15 Thread Tobias Quintern
Hello, the latest packages from oracular-proposed fix the issue for me. Test plan steps 1.-8. pass. Package details: * grub-efi-amd64, 2.12-5ubuntu5.1 * grub-efi-amd64-bin, 2.12-5ubuntu5.1 * grub-efi-amd64-signed, 1.209.1+2.12-5ubuntu5.1 * grub-efi-amd64-unsigned, 2.12-5ubuntu5.1 Used for tes

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-15 Thread Łukasz Zemczak
Hello Mate, or anyone else affected, Accepted grub2-unsigned into oracular-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/grub2-unsigned/2.12-5ubuntu5.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-14 Thread Mate Kukri
** Description changed: [ Impact ] UEFI GRUB2 in Oracular Oriole enforces NX_COMPAT even when used with a non-NX shim. Kernels in Oracular Oriole support NX_COMPAT. The impact is limited to failing to chainload other non-NX compatible operating systems from GRUB2. The mos

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-13 Thread Mate Kukri
Hi Ryan, Thanks for confirming. I now believe this affects every UEFI machine dual booting Windows 10 and Ubuntu 24.10: 1. You can boot into Ubuntu from GRUB if you don't unsuccessfully attempt to boot Windows first 2. Windows will fail to boot from GRUB (as a workaround you can boot it fro

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-12 Thread Ryan Hurley
I believe that I am also seeing this bug. I upgraded to 24.10 and spent a bunch of time troubleshooting with no success, and eventually downgraded back to 24.04. I'm currently going back to 24.10, and can produce log files or other information if it would be helpful. Impacted hardware is a ~2018-v

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-11 Thread Mate Kukri
** Description changed: - Please also see final comments on - https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2078307, this whole - thing stareted there. + [ Impact ] - There are two known affected machines currently, one is confirmed to - correctly be running the non-NX shim and 2.12-5ubu

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-11 Thread Simon
I can confirm this behavior. I'm on an ASUS B450 I AORUS PRO WIFI. According to inxi I'm on F63b (I know, I know...but it has been rock stable) Please let me know how I can help (logfiles, screenshots). Sorry for my unprofessional appearance - I'm fairly new to this. -- You received this bug n

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-10 Thread Mate Kukri
I've also found a machine I own that reproduces this... Looking into the root cause currently -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI GRUB2 enforces NX even with a non-NX s

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim

2024-10-10 Thread RK
Here is the GRUB debug output with sb on. ** Attachment added: "PXL_20241010_144204653.jpg" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2084104/+attachment/5826732/+files/PXL_20241010_144204653.jpg -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-10 Thread Mate Kukri
It looks like something is stopping GRUB from recognizing the MokPolicy variable exported by shim on these machines, and in turn it decides to enforce NX despite shim telling it not to. ** Summary changed: - UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled + UEFI GRUB2

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-10 Thread Rovano
Hello, I probably have a similar or the same problem. ad GPU vs EFI If I turn on UEFI boot, the screen is reduced from fullscreen on monitor to a window on the monitor in BIOS and Grub. But I don't mind. This is probably how it works with the GPU, GOP driver and BIOS. Furthermore, I have the co

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-10 Thread Mate Kukri
That sounds even more interesting, can you try set debug=peimage with SB enabled as well? The current shim you have installed should be telling GRUB to not enforce NX, and that was tested to work with SB enabled at least, so I am bit perplexed what's going on here. I think the graphics problem is

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-10 Thread RK
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

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-10 Thread Mate Kukri
** Changed in: grub2 (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-10 Thread Mate Kukri
** Changed in: grub2 (Ubuntu) Importance: Undecided => High ** Changed in: grub2 (Ubuntu) Assignee: (unassigned) => Mate Kukri (mkukri) ** Tags added: foundations-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://b

[Bug 2084104] Re: UEFI GRUB2 enforces NX even with a non-NX shim when Secure Boot is disabled

2024-10-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084104 Title: UEFI