Make write of LoaderDevicePartUUID non-persistent
rEFInd relies upon the EFI to read the kernel file. If the EFI cannot read a device natively, it requires a driver, such as the ext4fs and other Linux filesystem drivers provided with rEFInd. AFAIK, there's no EFI driver to read LUKS devices, so AFAIK, at present, rEFInd doesn't support reading kernels from them. In theory, this limitation could be fixed by writing an EFI LUKS driver. A more practical workaround at the moment is to store your kernel and initramfs on a partition that rEFInd can read....
You can set any unique part of the description as the default_selection to have rEFInd use that; for instance: default_selection = preboot Assuming there's only one preboot option, this example should cause it to be used as the default selection on every boot.
To boot in BIOS/CSM/legacy mode, you must install a BIOS-mode boot loader on the disk. This is normally the BIOS version of GRUB; and to install that, you'll need to boot a Linux recovery tool or OS installer and then issue appropriate commands to do the installation. The easiest way to do this is likely to be to use the Boot Repair tool: https://help.ubuntu.com/community/Boot-Repair That said, in this case your ultimate end state will be to use BIOS-mode GRUB 2 to boot a single OS (Linux Mint),...
Sorry; I failed to push the changes. They should be there now.
The --usedefault {target-device} option to refind-install should do what you want, provided the target device contains a FAT filesystem. Type man refind-install and search on usedefault for details.
This feature already exists in rEFInd, but is disabled by default so as to minimize wear on the NVRAM. (I've seen systems fail with worn-out NVRAM in the past, so I prefer to minimize NVRAM writes, when possible.) To enable it, uncomment the write_systemd_vars token in refind.conf and set the value to true.
Added ArcaOS icon