Memtest not working on Fedora correctly
With Legacy BIOS boot it installs the firstmenu entry, 
but it fails.
Some time ago, I created the 2nd menu entry manually, 
and it would work with Legacy boot.
Now have discovered there is a 6.01 version, and can get 
it to work with manual entries, but requires different 
options for booting with Legacy and UEFI.

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Fedora Memtest memtest86+-5.31' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root 
--hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 
--hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  
fa908208-22bd-4031-b620-841498e0708c
        else
          search --no-floppy --fs-uuid --set=root 
fa908208-22bd-4031-b620-841498e0708c
        fi
        insmod bsd
        echo    'Loading Fedora Memtest 
memtest86+-5.31 ...'
        knetbsd /elf-memtest86+-5.31
}
menuentry 'Memtest' {
        echo 'Loading memdisk'
        linux16 /memdisk iso
        echo 'Loading iso'
        initrd16 /memtest86+-5.31b.iso
}
### END /etc/grub.d/20_memtest86+ ###

From https://memtest.org/ see the new 6.01 version.
Download new version.
https://memtest.org/download/v6.01/mt86plus_6.01_64.g
rub.iso.zip
Extract file and use isomaster mt86plus64.grub.iso 
to view content. It has two different versions of memtest 
one in legacy boot and one under efi. Extract both, and 
rename.

Renamed them to 
144344 memtest.leg
144384 memtest.uefi

With a legacy boot grub.cfg loads fine with.
menuentry 'Memtest' {
        linux /memtest.leg
}

With my one machine with UEFI boot the grub.cfg works 
with
menuentry 'Memtest' {
        linux /memtest.uefi
}
If try the leg version it gives error message of Dos Magic 
Number.


With the memtest installed as rpm on UEFI boot, 
running setup gives this.
memtest-setup 
ERROR: memtest86+ does not support EFI platforms.

Manually putting this in /boot/grub2/grub.cfg it works.

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memtest' {
        linux /memtest.uefi
}
### END /etc/grub.d/20_memtest86+ ###

Don't have enough info on how the Fedora could be 
updated to automatically setup the new 6.01 memtest, 
but does show it is possible.
Thanks.

+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:mi...@guam.net                            
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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

Reply via email to