For fun, I installed the alpha KDE Linux on a partition of my SSD. For the install, I used the default format of btrfs. The default bootloader for KDE Linux is systemd-boot.
But refind doesn't see this distro.
[UPDATE 2025-02-01 The "issue" mentioned in the "update" immediately below has been fixed. it had no effect on refind seeing this distro, but it did change the information I provided below about this problem. So I will repost with the new information, under the title "refind can't see stub loader" (Since there's now files in the ESP, I am dropping "in btrfs partition" from the ttitle of fhe new post.) THERE IS NO LONGER A REASON TO READ ANY MORE OF THIS THREAD.)]
[UPDATE 2025-01-10 I noticed this post from five days ago in "issues" for KDE Linux.
Subject: Installer does not install bootloader
Text: It's currently unclear where this issue started, but latest builds do not install systemd-boot for an unknown reason.
I don't know if this affects refind, but thought I should mention this up front, in case it does.
Also, I my own, I noted that the install of KDE Linux did not add anything to the ESP. Should it have?
END OF UPDATE]
boot is empty. I think the interesting one here is efi. Here's its complete contents:
[root@F16efi]# ls -lR.:total924drwx------1rootroot32Dec2622:03EFIdrwx------1rootroot90Dec2622:03loader-rwx------1rootroot944832Dec2622:03shellx64.efi./EFI:total0drwx------1rootroot22Dec2622:03BOOTdrwx------1rootroot56Dec2622:05Linuxdrwx------1rootroot38Dec2622:03systemd./EFI/BOOT:total124-rwx------1rootroot123392Dec1804:29BOOTX64.EFI./EFI/Linux:total177668-rw-r--r--1rootroot181929472Dec2622:07kde-linux_202412270256+3.efi./EFI/systemd:total124-rwx------1rootroot123392Dec1804:29systemd-bootx64.efi./loader:total12drwx------1rootroot0Dec2622:03entries-rwx------1rootroot6Dec2622:03entries.sreldrwx------1rootroot0Dec2622:03keys-rwx------1rootroot40Dec2622:03loader.conf-rwx------1rootroot32Dec2622:03random-seed./loader/entries:total0./loader/keys:total0
Now I know very little about booting. My guess was that the kde-linux_202412270256+3.efi is a stub loader because it's so large. But whether it's a stub loader or not, the question is how to get refind to see, and thus be able to boot, this setup.
In refind.conf, I've tried each of the following two lines, but no luck with either:
First, I should mention that KDE Linux is an "atomic" distro, if that makes any difference.
Second, I noticed no sign of the usual initramfs in the usual places. However, deep in systemd subdirectories are a bunch of .service files with initramfs in their filenames. (There's a number of others there with initrd in their filenames.)
Does this shed any light on my problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found two items that MIGHT be relevant to my problem, I thought if Rod came by to read this thread, they are things he should see up-front, so I've edited then into my original post.
You can see them embedded there, labelled UPDATE 2025-01-10.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For fun, I installed the alpha KDE Linux on a partition of my SSD. For the install, I used the default format of btrfs. The default bootloader for KDE Linux is systemd-boot.
But refind doesn't see this distro.
[UPDATE 2025-02-01 The "issue" mentioned in the "update" immediately below has been fixed. it had no effect on refind seeing this distro, but it did change the information I provided below about this problem. So I will repost with the new information, under the title "refind can't see stub loader" (Since there's now files in the ESP, I am dropping "in btrfs partition" from the ttitle of fhe new post.) THERE IS NO LONGER A REASON TO READ ANY MORE OF THIS THREAD.)]
[UPDATE 2025-01-10 I noticed this post from five days ago in "issues" for KDE Linux.
I don't know if this affects refind, but thought I should mention this up front, in case it does.
Also, I my own, I noted that the install of KDE Linux did not add anything to the ESP. Should it have?
END OF UPDATE]
Here's the top level of the filesystem:
@root is empty, so the interesting one here is @kde-linux_202412270256. Here's its contents:
boot is empty. I think the interesting one here is efi. Here's its complete contents:
Now I know very little about booting. My guess was that the kde-linux_202412270256+3.efi is a stub loader because it's so large. But whether it's a stub loader or not, the question is how to get refind to see, and thus be able to boot, this setup.
In refind.conf, I've tried each of the following two lines, but no luck with either:
Any advice appreciated.
Last edit: George Pearson 2025-02-01
The config file says
also_scan_dirs
does not recurse:https://github.com/dakanji/rEFInd/blob/253abe5c4af58d044912517daa567c4440612c46/refind.conf-sample#L353-L357
So, if targeting a specific subfolder, you might want to define this fully:
also_scan_dirs +,@kde-linux_202412270256/path/to/subfolder
OK, thanks! I did not notice the "not recurse".
BUT, I've now changed also_scan_dirs to this;
... and that made no difference - the distro still does not appear in refind.
And that list covers every subdirectory containing a efi file.
What am I missing?
To followup my last post, I found a vmlinuz in:
so I added that subdirectory to also_scan_dirs and tried refind again.
No joy tho.
OK, OP again with further info.
First, I should mention that KDE Linux is an "atomic" distro, if that makes any difference.
Second, I noticed no sign of the usual initramfs in the usual places. However, deep in systemd subdirectories are a bunch of .service files with initramfs in their filenames. (There's a number of others there with initrd in their filenames.)
Does this shed any light on my problem?
Suggest waiting for the maintainer to respond.
I found two items that MIGHT be relevant to my problem, I thought if Rod came by to read this thread, they are things he should see up-front, so I've edited then into my original post.
You can see them embedded there, labelled UPDATE 2025-01-10.