Package: grub2 Severity: wishlist Some arm64 laptops/tablets ship with UEFI firmware that require the code offset to be aligned to EFI_PAGE_SIZE, presumably in order to be able to enforce no-execute settings for the PE/COFF header itself.
The following (minimal) patch set sent to grub-devel (and reviewed by me) changes the behaviour accordingly: https://lists.gnu.org/archive/html/grub-devel/2018-12/msg00056.html The unfortunate behaviour of trying to run a grub without 4k-aligned code offset is to silently hang immediately. As a reference, a patch performing the same change in behaviour is already merged in EDK2: https://github.com/tianocore/edk2/commit/de3c440e8a54c201c527b85da7b89d58486ece4d