Removing efi-implement-grub_efi_run_image.patch didn't avoid the
problem, nor did removing both that and efi-implemented-
LoadFile2-initrd-loading-protocol-fo.patch, but that appears to just be
because the arm64 code gets migrated to the efi loader code later in the
series, basically reintroducing the LoadFile2 support.

Instead, I just made the following change, which does avoid the problem:

Index: grub2-unsigned-2.06/grub-core/loader/efi/linux.c
===================================================================
--- grub2-unsigned-2.06.orig/grub-core/loader/efi/linux.c
+++ grub2-unsigned-2.06/grub-core/loader/efi/linux.c
@@ -88,7 +88,7 @@ grub_arch_efi_linux_check_image (struct
    * LoadFile2 based initrd loading protocol if the image version is >= 1.
    */
   if (optional_header->major_image_version >= 1)
-    initrd_use_loadfile2 = 1;
+    initrd_use_loadfile2 = 0;
    else
     initrd_use_loadfile2 = 0;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967562

Title:
  jammy beta (220330) arm iso pxe boot kernel panic on Ampere Mt. Jade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/1967562/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to