On 15 Jan 2023 at 0:26, Andre Robatino wrote:
Subject: Re: Manually get memtest 6.01 to work on both Legacy and
UEFI boot
with Fedora.
From: "Andre Robatino" <robatino(a)fedoraproject.org>
To: users(a)lists.fedoraproject.org
Date sent: Sun, 15 Jan 2023 00:26:10 -0000
Send reply to: Community support for Fedora users
<users(a)lists.fedoraproject.org>
Or maybe 2 packages, one for Legacy and one for UEFI. When Fedora
eventually drops support for Legacy the first package would go away. All
my machines are Legacy and I'd love to have it working again.
Did a test.
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
_______________________________________________
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/
+------------------------------------------------------------+