Grub script should warn about EFI 32 bit system instead of exit silently

Bug #1863940 reported by Bruno Duyé
6
This bug affects 1 person
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.d/20_memtest86+ and I here's what really miss there, IMHO:

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

Revision history for this message
Fantu (fantonifabio) wrote :

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)

Changed in memtest86+ (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.