[Bug 1863940] [NEW] Grub script should warn about EFI 32 bit system instead of exit silently
Bruno Duyé
1863940 at bugs.launchpad.net
Wed Feb 19 18:55:18 UTC 2020
Public bug reported:
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
** Affects: memtest86+ (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to memtest86+ in Ubuntu.
https://bugs.launchpad.net/bugs/1863940
Title:
Grub script should warn about EFI 32 bit system instead of exit
silently
Status in memtest86+ package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1863940/+subscriptions
More information about the foundations-bugs
mailing list