Grub script should warn about EFI 32 bit system instead of exit silently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
memtest86+ (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm trying to add memtest to my Grub config, and searched a while. Many questions about this "problem" are posted on stack exchange but I didn't quickly found the solution. So I stated to trace and finally found the origin of my problem: I was trying to install FOSS Memtest86 version on a Grub that is launched on EFI mode.
But to find this problem I had to add debug on /etc/grub.
diff --git debian/grub debian/grub
index 56ca510..11afbe5 100644
--- debian/grub
+++ debian/grub
@@ -15,6 +15,7 @@ fi
# We need 16-bit boot, which isn't available on EFI.
if [ -d /sys/firmware/efi ]; then
+ echo "Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting." >&2
exit 0
fi
(by the way I don't understood how to submit a PR; why Ubuntu isn't using Gitlab ?!!; so here's the "patch"; super simple so can be put here)
Thanks
was solved in latest version in Jammy
memtest86+ (5.31b+dfsg-1) experimental; urgency=medium
...
* Warn that don't support EFI instead of exit silently (LP: 1863940)