Using memtest86 with UEFI

Colin Watson cjwatson at ubuntu.com
Thu Apr 14 13:51:26 UTC 2022


On Fri, Apr 08, 2022 at 08:19:37AM -0400, Sam Varshavchik wrote:
> I installed Ubuntu 20 on an UEFI system, and I want to run memtest86 to
> check its RAM, but it's missing from the grub menu.
> 
> I see the following in /etc/grub.d/20_memtest86+
> 
> 
> # We need 16-bit boot, which isn't available on EFI.
> if [ -d /sys/firmware/efi ]; then
>  exit 0
> fi
> 
> So, on UEFI memtest86 is not available. My question is: what are the
> alternatives?

pcmemtest at least nominally works, though it's only in Ubuntu 22.04,
not 20.04.

Description: stand-alone memory tester
 PCMemTest is a stand-alone memory tester for x86 and x86-64 architecture
 computers. It provides a more thorough memory check than that provided by BIOS
 memorytests.
 .
 PCMemTest can be loaded and run either directly by a PC BIOS (legacy or UEFI)
 or via an intermediate bootloader that supports the Linux 16-bit, 32-bit,
 64-bit, or EFI handover boot protocol. It should work on any Pentium class or
 later 32-bit or 64-bit CPU.
 .
 PCMemTest is a fork and rewrite of Memtest86+, which in turn was a fork of
 Memtest86.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list