#1124519 memtest86+: Improve /etc/grub.d/20_memtest86+ to show menu entries under grub i386-coreboot as well

Package:
memtest86+
Source:
memtest86+
Description:
thorough real-mode memory tester
Submitter:
Wregyek
Date:
2026-01-02 10:19:06 UTC
Severity:
normal
#1124519#5
Date:
2026-01-02 08:12:49 UTC
From:
To:
Dear Maintainer,

Currently, the grub menu entries will be hidden under grub i386-coreboot,
because the test code for non-efi platforms in debian/grub (installed as
/etc/grub.d/20_memtest86+) only matches i386-pc, but memtest86+ turns out
working well under grub i386-coreboot, so debian/grub could be improved as
attached patch to show menu entrie under grub i386-coreboot as well.

Other than grub payload atop coreboot firmware, grub i386-coreboot could also
be launched from other multiboot-compliant bootloaders, especially grub
i386-pc (I have not test launching grub i386-coreboot from grub efi). To test
the patch on debian, one can install grub-coreboot-bin, run

to install the grub i386-coreboot to the boot partition/dir, and launch it from
the command prompt of grub i386-pc (assuming boot is a standalone partition):

The attached patch is tested under both grub payload atop coreboot firmware,
and grub i386-coreboot launched from grub i386-pc.

#1124519#10
Date:
2026-01-02 09:56:51 UTC
From:
To:
Sorry, the environment I use to launch grub i386-coreboot from grub i386-pc is actually under SeaBIOS atop coreboot, and It should be the the coreboot table in memory which makes it possible, so launching grub i386-coreboot from grub i386-pc might not be possible under other BIOS implementations without a coreboot table.