Hello,
I encountered the same problem after updating to Proxmox 9.2, whereas in Proxmox 9.1 the issue doesn't occur.
Since this happened on two different machines, with two mothercard series, I used IPMI to try to figure out what rEFINd was doing.
Then we discussed it on the OVH mailing list.
OVH offers a guide explaining how the startup process works on their machines :
https://docs.ovhcloud.com/en/guides/bare-metal-cloud/dedicated-servers/boot-process
The diagram helps you better understand how it works.
There is the sanboot process between firmware patching via PXE and rEFINd.
If an "efiBootloaderPath" boot string is defined, that is the one that is executed. If it doesn't exist on the OVH back end (since it is stored there and not on the machine) or does not work, that is when rEFINd is launched to scan the disks.
If I understand correctly, it's likely the most recent date that wins. And since memtest seems to be added to the ESP during the Proxmox update to 9.2 (I don't know why, it doesn't seem to be documented?), it has a more recent date than the systemd-boot history.
So it's chosen first.
As far as I know, the use of sanboot within rEFINd dates back to 2024.
I think it was introduced precisely to allow for better control over the boot selection in rEFINd.
It's important to note that the "efiBootloaderPath" value is automatically set by OVH during an installation performed through their system.
However, this is not the case when performing a manual installation via IPMI.
But, there is an API endpoint for changing this value :
https://api.eu.ovhcloud.com/console/?section=/dedicated/server&branch=v1#put-/dedicated/server/-serviceName-
At first glance, according to the OVH guys, the correct value for Proxmox without GRUB would be efiBootloaderPath = "\efi\systemd\systemd-bootx64.efi", like we can see on the rEFINd screenshot (or "\efi\proxmox\grubx64.efi" for GRUB installation. But need to confirm).
I pointed out that it wasn"t really a good idea for this to be hidden and non-editable in the manager. Although there is a guide, unless you"re specifically looking for it, you wouldn't have a clue about it.
And having a "Custom Installation" option instead of "OS: Not Installed" would be a real plus. At that point, users would be able to select this setting in the GUI.
The feedback was generally well-received and passed on to the team.
We'll see.
Rather than simply removing memtest from the machine, I hope this post will help others at OVH in the future.