Another question... how many storage devices can RetroOS handle at the moment?
On the system where I can boot your USB image through UEFI, it only detected one NVMe disk and 2 AHCI disks, but my system have more disks installed (of both NVMe and SATA kinds), so I suspect it can only handle up to 3 disks at the moment.
I've a spare ext4 partition that I was planning to use it for something else, and I decided to repurpose it for RetroOS (and created a /home/retroos folder in it just in case), but it's not being picked up, so most likely it's not among the 3 disks detected.
Anyway, I'd like to know how to manually install the kernel as well as preparing the RetroOS root partition from a Linux system, as I don't think the script in the "machine" package would work in my case.
- I'm using CachyOS. It mounts the EFI ESP directly at "/boot" rather than "/boot/efi" or "/efi" commonly used in other Linux distros.
- I'm using Btrfs for "/home". Not sure if I put my spare ext4 partition as "/home/retroos" will do.
- I'm not using GRUB2 on that system. I'm using rEFInd for booting both Linux and Windows.
Though I think your kernel.elf should in theory be bootable by rEFInd if it's kind of like a Linux kernel binary which rEFInd can already boot directly.
EDIT: After some inspection of that system's storage topology I've discovered the issue -- the kernel can only handle the first NVMe and SATA controller it detected.
My system currently has 3 NVMe disks, and 4 SATA disks. Currently 2 disks are on one SATA controller and 2 disks on the other. The partition I intend to use RetroOS with is on the second SATA controller that's not being picked up by the kernel.
EDIT 2: Apparently rEFind has its own specific procedure for Linux kernels handled by a config called "refind_linux.conf". It probably won't be helpful for other kernels like yours.
I've since installed GRUB on that system but I need some guides on how to set up a boot entry for it, though I'll only be able to test it once the issue with NVMe/SATA controller detection gets resolved.