On 15 Jan 2023 at 11:24, Felix Miata wrote:
Subject: Re: Manually get memtest 6.01 to work on
both Legacy and UEFI boot
with Fedora.
To: users(a)lists.fedoraproject.org
From: Felix Miata <mrmazda(a)earthlink.net>
Organization: less than infinite
Date sent: Sun, 15 Jan 2023 11:24:18 -0500
Send reply to: Community support for Fedora
users <users(a)lists.fedoraproject.org>
Michael D. Setzer II via users composed on 2023-01-16 01:50
(UTC+1000):
> Backed up the /etc/grub.d/20_memtest86+ and replaced it with this...
> # !/bin/sh
> exec tail -n +3 $0
> # This file provides an easy way to add custom menu entries. Simply type the
> # menu entries you want to add after this comment. Be careful not to change
> # the 'exec tail' line above.
> menuentry 'Memtest Legacy' {
> echo 'Loading memtest 6.01 for BIOS BOOT SYSTEM'
> linux /memtest.leg
> }
> menuentry 'Memtest UEFI' {
> echo 'Loading memtest 6.01 for UEFI BOOT SYSTEM'
> linux /memtest.uefi
> }
> Put the memtest files copied from the memtest.org's grub's iso file. leg for
/boot
> an uefi from /EFI/BOOT.
> both have name memtest, so renamed them to match.
> put them in /boot directory and used grub2-mkconfig to create grub.cfg. Seems
> to work, but one needs to select the correct one. Sure a more complex setup
> could be done. Only have one UEFI machine, so don't know if it would work with
> all setups.
> To update my machines created a file.
> 57636 Jan 16 00:24 memtest6.01.xz
> that contains
> 416 Jan 16 00:24 20_memtest86+
> 1071 Jan 16 00:13 Memtest6.01-Readme
> 144344 Dec 30 17:00 memtest.leg
> 144384 Dec 30 17:00 memtest.uefi
> 294 Jan 16 00:23 setupmemtest6.01.sh
I've been using memtest86, not memtest86+, on UEFI using chainload instead of
linux, via the following stanza:
menuentry "memtest86 8.3 EFI" {
search --no-floppy --label --set=root ZM2P01ESP
chainloader /mt83x64.efi
}
# ls -n /boot/efi/*efi
-rwxr-xr-x 1 0 0 1243032 Nov 22 2019 /boot/efi/mt83x64.efi
From what I understand memtest86 is a commercial
product, so it isn't something that could be included with
Fedora directly or distributed with a free project?
Where exactly did you get the mt83x64.efi file? did a
quick search, and didn't find a link.
Another issue is latest 6.01 is dated 12/30/2022, while
you file is dated 11/22/2019? Don't know how the tests
between the to options are.
I have a disk imaging project and have included memtest
since memory is critical in creating disk images. Once
got a brand new $8,000 HP server at college, and was
having it create corrupted disk images. Had no errors
occur with eith NT 2000 or Linux on machine. But then
ran memtest and it got thru 7 of the tests with no errors,
and then started getting single bit errors. Turned out 1
of the 2 brand new memory sticks was bad. Pulled bad
one, and machine worked fine. Vendor then gave a
complete replacement of memory sticks.
Will have to do some more searching. Also, your file is
much larger than the combined two memtest programs
and they are both legacy and uefi.
Thou, it does say it isn't signed, so wouldn't work if using
secure boot.
Hopefully, Fedora will come out with a solution. Right
now if you try memtest-setup on UEFI boot system, it
says not surported, and on legacy it installs, but doesn't
actually work with the 5.31 version.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
(Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+