Memtest86

fergusrg

New Member
May 20, 2022
1
0
1
I need to launch Memtest86+ at startup of my Proxmox machine. I manage to add it to Grub, but then I don't know how to add it to systemd-boot.

I do "proxmox-boot-tool refresh" and only available kernels are added, not Memtest86+. Any ideas?
 
Hey,

you can download it from the memtest86 website[1]. Then, after unzipping it you'll end up with a file named memtest86-usb.img (among others). With fdisk -l memtest86-usb.img you should get something like
Code:
...
Units: sectors of 1 * 512 = 512 bytes
...
Device              Start     End Sectors  Size Type
memtest86-usb.img1   2048  512000  509953  249M Microsoft basi
memtest86-usb.img2 514048 1023966  509919  249M EFI System
Now you can mount it with mount -o loop,offset=263192576 memtest86-usb.img /mnt/tmp, the offset has to be sector_size*start_sector (here 512*514048=263192576). Then copy /mnt/tmp/EFI/BOOT/BOOTX64.efi to /boot/efi/EFI/BOOT/memtest/memtest.efi. Lastly create /boot/efi/loader/entries/memtest.conf with
Code:
title    Memtest86
efi    EFI/memtest/memtest.efi
After rebooting you should be able to select "Memtest86" in your boot menu.

As an alternative you could also just put memtest on a usb drive.


[1] https://www.memtest86.com/downloads/memtest86-usb.zip
 
  • Like
Reactions: rmachuca89 and UdoB

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!