I'm having a bit of trouble coming up with an efficient method to boot my openSUSE kernels directly (i.e., without utilizing the grub efi). I have rEFInd working as intended; however, since openSUSE installs its kernels in /usr/lib/modules/* and then installs links to said kernels within the EFI partition, rEFInd is unable to locate the images unless I append the refind.config file with 'also_scan_dirs /usr/lib/modules/6.1.1-1-default'. The caveat there is that I would have to manually change the directory in the refind.config on every change of the kernel version. The only solutions I can see are having a 'sub-directory scan' of the also_scan_dirs token, or have an option to follow kernel links, but I do not believe rEFInd has either of those capabilities. Are there any other solutions that may work? Any feedback is greatly appreciated!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try RefindPlus by temporarily renaming your rEFInd efi and replacing this with the RefindPlus efi (with the same name rEFInd had). Then add follow_symlinks to the config file and reboot.
Last edit: dakanji 2023-02-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The RefindPlus follow_symlinks feature has been pushed upstream and merged into rEFInd. It should appear in the next release of rEFInd or you can build on the current codebase to use it in rEFInd as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Everyone,
I'm having a bit of trouble coming up with an efficient method to boot my openSUSE kernels directly (i.e., without utilizing the grub efi). I have rEFInd working as intended; however, since openSUSE installs its kernels in /usr/lib/modules/* and then installs links to said kernels within the EFI partition, rEFInd is unable to locate the images unless I append the refind.config file with 'also_scan_dirs /usr/lib/modules/6.1.1-1-default'. The caveat there is that I would have to manually change the directory in the refind.config on every change of the kernel version. The only solutions I can see are having a 'sub-directory scan' of the also_scan_dirs token, or have an option to follow kernel links, but I do not believe rEFInd has either of those capabilities. Are there any other solutions that may work? Any feedback is greatly appreciated!
Try RefindPlus by temporarily renaming your rEFInd efi and replacing this with the RefindPlus efi (with the same name rEFInd had). Then add
follow_symlinks
to the config file and reboot.Last edit: dakanji 2023-02-12
The RefindPlus
follow_symlinks
feature has been pushed upstream and merged into rEFInd. It should appear in the next release of rEFInd or you can build on the current codebase to use it in rEFInd as well.Awesome, thanks! For some reason I wasn't notified of these replies--just happened to check manually. Upstream version works like a charm now.