Menu

openSUSE direct kernel booting

Don Menig
2023-01-06
2023-03-05
  • Don Menig

    Don Menig - 2023-01-06

    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!

     
  • dakanji

    dakanji - 2023-02-12

    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
  • dakanji

    dakanji - 2023-02-15

    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.

     
  • Don Menig

    Don Menig - 2023-03-05

    Awesome, thanks! For some reason I wasn't notified of these replies--just happened to check manually. Upstream version works like a charm now.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.