No Memtest in Grub.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 25
- Joined: Sat Feb 22, 2014 9:45 am
No Memtest in Grub.
I just installed Linux Mint 19.2, but in the Grub menu, there is no Memtest. Why?
What to do?
What to do?
-
- Level 1
- Posts: 25
- Joined: Sat Feb 22, 2014 9:45 am
Re: No Memtest in Grub.
But why cant I see it on my computer?
And how do i get it into Grub? I do not want it only on a USB stick.
And how do i get it into Grub? I do not want it only on a USB stick.
Re: No Memtest in Grub.
Mount the memtest86-usb.img and copy the files from the /EFI/BOOT folder inside of it to your ESP so you end up with something like this:
then add a GRUB menu entry like this:
e.g. to your
Code: Select all
# l /boot/efi/EFI/memtest86/
Benchmark blacklist.cfg BOOTIA32.efi BOOTX64.efi mt86.png unifont.bin
Code: Select all
menuentry 'MemTest86' $menuentry_id_option 'memtest86' {
set root='hd0,gpt1'
chainloader ($root)/EFI/memtest86/BOOTX64.EFI
}
/etc/grub.d/40_custom
. Don't forget to update-grub
once you're one.-
- Level 1
- Posts: 25
- Joined: Sat Feb 22, 2014 9:45 am
Re: No Memtest in Grub.
What is ESP and where do I find it?
Re: No Memtest in Grub.
Don't worry about it, open your file browser as root, navigate to
/boot/efi/EFI/
and create the folder memtest86
in it, then put the files in there.-
- Level 1
- Posts: 25
- Joined: Sat Feb 22, 2014 9:45 am
Re: No Memtest in Grub.
Is it "memtest86-usb.img" I should use to make a bootable USB and then from that find the files you are talking about?
Re: No Memtest in Grub.
You can just (double) click on it to mount it, the mount point should then appear in your file browser.
-
- Level 1
- Posts: 3
- Joined: Tue Sep 08, 2020 5:03 am
Re: No Memtest in Grub.
After updating to Linux Mint 20 I found that memtest was missing in Grub. You just need to install it and it will appear again.
Code: Select all
sudo apt install memtest86+
-
- Level 4
- Posts: 252
- Joined: Sat Apr 04, 2015 8:55 pm
Re: No Memtest in Grub.
I am running LM 20.1 xfce and I did exactly that as well as 'update-grub'.sudo apt install memtest86+
I get the grub menu but no memtest.
I checked inside /etc/grub.d/ and I have:
-rwxr-xr-x 1 root root 1992 Aug 18 2020 20_memtest86+*
And under /boot/ I have:
-rw-r--r-- 1 root root 182704 Aug 18 2020 memtest86+.bin
-rw-r--r-- 1 root root 184380 Aug 18 2020 memtest86+.elf
Any ideas?
-
- Level 2
- Posts: 71
- Joined: Wed Jul 29, 2020 12:42 pm
Re: No Memtest in Grub.
Thanks for this! save me a USB stick, memtest right in Grubgm10 wrote: ⤴Wed Dec 04, 2019 6:35 pm Mount the memtest86-usb.img and copy the files from the /EFI/BOOT folder inside of it to your ESP so you end up with something like this:then add a GRUB menu entry like this:Code: Select all
# l /boot/efi/EFI/memtest86/ Benchmark blacklist.cfg BOOTIA32.efi BOOTX64.efi mt86.png unifont.bin
e.g. to yourCode: Select all
menuentry 'MemTest86' $menuentry_id_option 'memtest86' { set root='hd0,gpt1' chainloader ($root)/EFI/memtest86/BOOTX64.EFI }
/etc/grub.d/40_custom
. Don't forget toupdate-grub
once you're one.
Re: No Memtest in Grub.
Why don't you install it from the repo's ?
Re: No Memtest in Grub.
I did install it from the repos running sudo apt install memtest86. It installed. But then it still didn't show up at boot.
So then I followed the advice and added to the grub menu
And ran update-grub.
I just don't understand what is. Does this point to a disk, or a name, or a location?
Obviously, I do not have this specific location.
So then I followed the advice and added to the grub menu
Code: Select all
menuentry 'MemTest86' $menuentry_id_option 'memtest86' {
set root='hd0,gpt1'
chainloader ($root)/EFI/memtest86/BOOTX64.EFI
}
I just don't understand what is
Code: Select all
set root='hd0,gpt1'
Obviously, I do not have this specific location.
Re: No Memtest in Grub.
Same problem. After install memtest86slvstr3 wrote: ⤴Wed Apr 28, 2021 11:50 am I did install it from the repos running sudo apt install memtest86. It installed. But then it still didn't show up at boot.
So then I followed the advice and added to the grub menu
And ran update-grub.Code: Select all
menuentry 'MemTest86' $menuentry_id_option 'memtest86' { set root='hd0,gpt1' chainloader ($root)/EFI/memtest86/BOOTX64.EFI }
I just don't understand what is. Does this point to a disk, or a name, or a location?Code: Select all
set root='hd0,gpt1'
Obviously, I do not have this specific location.
Code: Select all
$ sudo apt install memtest86+
Code: Select all
$ ls /boot/
config-5.4.0-58-generic efi initrd.img-5.4.0-58-generic initrd.img.old memtest86+_multiboot.bin System.map-5.4.0-72-generic vmlinuz-5.4.0-71-generic
config-5.4.0-71-generic grub initrd.img-5.4.0-71-generic memtest86+.bin System.map-5.4.0-58-generic vmlinuz vmlinuz-5.4.0-72-generic
config-5.4.0-72-generic initrd.img initrd.img-5.4.0-72-generic memtest86+.elf System.map-5.4.0-71-generic vmlinuz-5.4.0-58-generic vmlinuz.old
Code: Select all
$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Генерируется файл настройки grub …
Найден образ linux: /boot/vmlinuz-5.4.0-72-generic
Найден образ initrd: /boot/initrd.img-5.4.0-72-generic
Найден образ linux: /boot/vmlinuz-5.4.0-71-generic
Найден образ initrd: /boot/initrd.img-5.4.0-71-generic
Найден образ linux: /boot/vmlinuz-5.4.0-58-generic
Найден образ initrd: /boot/initrd.img-5.4.0-58-generic
Adding boot menu entry for UEFI Firmware Settings
завершено
Code: Select all
# ls /boot/efi/EFI/
BOOT ubuntu
Code: Select all
# cat /etc/grub.d/40_custom
#!/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.
Re: No Memtest in Grub.
Bigger question for me is WHY is it missing. It's always been a critical part of diagnosing some boot problems, and it seems logical to be on the GRUB menu along with other boot options for diagnosis. This thread started back with either 19.3 or 20, so if it were a mistake that it was missing we've had several updates that could have restored it.
Re: No Memtest in Grub.
isn't that for LMDE4 this is about the Main Edition & with Memtest+
the issue arises, from what you have remembered, was the traditional 32bit version,
and now there is an 64bit version, that isn't included, as it once would have been.
- - you now have to Install it, yourself - -
https://www.memtest86.com/tech_configuring-grub.html
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: No Memtest in Grub.
You're probably right.
Installed memtest now on my dualboot Mint 20.2 / LMDE4 from Mint 20.2 synaptic and memtest is not in Grub
Installed memtest now on my dualboot Mint 20.2 / LMDE4 from Mint 20.2 synaptic and memtest is not in Grub
-
- Level 5
- Posts: 579
- Joined: Tue Jul 13, 2021 5:13 am
Re: No Memtest in Grub.
Copy the memtest executable from a Linux ISO , then load it with GRUB by editing /etc/grub/40_custom and then
sudo update-grub