I've noticed for a while running memtest from grub2 menu just gives a blue screen and locks machine.
Had a similar issue running it from grub4dos, but found running syslinux memdisk and then running program worked, but exact same thing didn't work with grub2?? So, just tried using the iso versus the memtest.img extracted from it, and that comes up.
Manually modifed the grub.cfg by coping section that Fedora creates and making changes?? Have seen messages saying it was broken, but never found any fixes. So, not sure some can tell why? or if this would be useful to others to try??
### 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' { 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 echo 'Loading memdisk' linux16 /memdisk iso echo 'Loading iso' initrd16 /memtest86+-5.31b.iso }
### END /etc/grub.d/20_memtest86+ ###
On Sat, 08 Jan 2022 16:48:26 +1000 Michael D. Setzer II via users wrote:
I've noticed for a while running memtest from grub2 menu just gives a blue screen and locks machine.
Memtest and EFI seems to be tricky. I had to download the EFI compliant memtest86 (NOT memtest86+) and make a bootable usb stick to run memtest on a new EFI only system I got.
This is on a non-EFI system. Memtest use to work on my systems before (Have 5 Fedora 34 machine and the standard memtest started giving the blue screen when selecting memtest). The memtest worked fine with syslinux boot from flash, and use to work with grub4dos boot, but now that requires a memdisk setup to load it. Just was trying something similar with grub2.
With grub4dos use this in menu.lst title memtest find --set-root /MEMTEST.IMG #Uses memdisk from syslinux 6.04pre1 kernel /memdisk initrd /MEMTEST.IMG
in /boot/grub2/grub.cfg use menuentry 'Memtest' { 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 echo 'Loading memdisk' linux16 /memdisk iso echo 'Loading iso' initrd16 /memtest86+-5.31b.iso }
Have tried a little with EFI, but haven't found a way since it doesn't like memdisk??
On 8 Jan 2022 at 10:43, Tom Horsley wrote:
Date sent: Sat, 8 Jan 2022 10:43:40 -0500 From: Tom Horsley horsley1953@gmail.com To: users@lists.fedoraproject.org Subject: Re: Fedora's memtest option doesn't work, but found something that seems to?? Send reply to: Community support for Fedora users users@lists.fedoraproject.org
On Sat, 08 Jan 2022 16:48:26 +1000 Michael D. Setzer II via users wrote:
I've noticed for a while running memtest from grub2 menu just gives a blue screen and locks machine.
Memtest and EFI seems to be tricky. I had to download the EFI compliant memtest86 (NOT memtest86+) and make a bootable usb stick to run memtest on a new EFI only system I got. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@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 on the list, report it: https://pagure.io/fedora-infrastructure