Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 15967  / 2 Years ago, mon, june 27, 2022, 12:57:03

I had the same problem as @coversnail here: How can I add the Memtest86+ options back to the Grub menu?



The problem is: I just can choose between older kernel versions and the actual Ubuntu version in GRUB. There are no other options.



I want to run memtest86+. It is installed and in /etc/grub.d/, but it is not in GRUB itself. I am kind of confused.


More From » grub2

 Answers
3

Try Grub Customizer. Grub Customizer is a graphical settings manager for GRUB2.



To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



sudo add-apt-repository ppa:adabbas/1stppa
sudo apt-get update
sudo apt-get install grub-customizer


Or just check out their website.



To add the memtest entries see images below, and the text.



enter image description here
enter image description here
enter image description here



First Entry



insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b4d22d74-d1db-44c3-a834-e879263662f5
else
search --no-floppy --fs-uuid --set=root b4d22d74-d1db-44c3-a834-e879263662f5
fi
linux16 /boot/memtest86+.bin


Second Entry



insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b4d22d74-d1db-44c3-a834-e879263662f5
else
search --no-floppy --fs-uuid --set=root b4d22d74-d1db-44c3-a834-e879263662f5
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8


Note: Now the above information is correct, but keep in mind that memtest will not work in grub2-uefi . This is because UEFI does not support launching 16-bit binaries and memtest is a 16-bit binary. Thats also the reason why there is no linux16 command/module in grub2 uefi.



Also you may want to look at memtest86+ fails on efi systems.


[#30601] Monday, June 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
scrubuz

Total Points: 194
Total Questions: 96
Total Answers: 127

Location: Monaco
Member since Fri, Sep 24, 2021
3 Years ago
;