OK, finally had time to time to try the stanza and that worked - the kaos icon is displayed now
(Posting this prior to seeing joevt's post, which is right now "awaiting moderation".) My latest thought for this icon issue is to create a stanza to handle the kaos distro, I need to research how to do this, but unfortunately I won't be able to get to that right away ...
With respect to renaming the icon, I thought better than a rename would be to symlink os_linux.png to os_kaos.png. That would make it more obvious what was going on. However ln -s requires a full path as a target, which again brings up the symlink question - what is the mount point of the efi partition when rEFInd is running?
Yep, I could rename the icon. It would work fine (unless I ever installed another distro that mounted the efi partition on /boot). As an alternate idea, I noticed that Rod, in 2023, added an option to follow symlinks. So I could theoretically symlinks the kernels in the efi partition to the KaOS XFS partition . So rEFInd would see the kernels there and be able to read /etc/os-release there. I think there's also an option to STOP rEFInd from looking for kernels in the efi partition (to avoid seeing...
Duh - slaps forehead. It's NOT the XFS partition that needs the filesystem name trick. I'd need to name the efi filesystem "kaos" because that's where the kaos kernels are. That just seems like a wrong thing to do, so I guess I'm stuck with the penguin...
Found nothing on the xfs_admin errors. Found that KDE partition manager will deal with XFS partitions, so tried using that, running on my KDE Neon distro, to change the filesystem name of the KaOS partition. It reported success, but yet the label is still empty!
For the KaOS distro, the refind log shows: Trying to locate an icon based on hints 'boot,EFI,System,Partition,linux' So it's not looking for "kaos". So I decided a refind trick is really necessary, and therefore installed xfsprogs in one of the other distros. I ran xfs_admin there to change the filesystem name of the (unmounted) Kaos partition to "kaos" (wiithout the quotes of course) but got a whole raft of errors and the name remains empty, so no joy there. I'll need to research why xfs_admin ...
Wow, I hadn't realized there was the ability to enable a log file. Thanks! The refind documentation is very thorough, but its a bit difficult to find the information one needs. Anyway, in refind.conf, I uncommented log_level and set it to 4. I rebooted to create the log. At first, the file looked mysterious until I discovered it was using UTF-16. So I converted the file to UTF-8 to inspect it, using this command while in sudo bash: iconv -f UTF-16 -t UTF-8 refind.log -o refind-utf-8.log I can see...