You are not logged in.
Hi all,
I am using rEFInd because that's where my dual-boot Mac/Linux life started, and I am so far happy with this. However, I would like to install the real-time kernel as this seems to still be required to get the kind of rock-steady low latencies I need for my stage work. But I can't find any documentation on how to change kernels using rEFInd instead of GRUB. Before I do anything stupid that renders my machine unbootable I thought I'd ask for some advice first...
Best,
K
Last edited by kflak (2017-11-22 10:09:24)
Offline
If you mean add a boot entry for a different kernel see REFInd#Configuration.
Offline
Seems to be something along those lines. So basically what I would do is 1. install linux-rt and linux-rt-headers from aur, 2. remove vmlinuz-linux and initramfs-linux.img, 3. mkinitcpio and 4. run #mkrlconf to get a basic configuration file? I just want to make absolutely sure I understand this correctly...
Offline
2. Is unnecessary and probably inadvisable. There is no harm having the vanilla kernel as a fallback.
Offline
Why would you remove vmlinuz-linux and initramfs-linux.img? You can have multiple kernels installed, if you want to remove the linux package then removing the linux package will remove those files.
`mkrlconf` yes if you want to use /boot/refind_linux.conf and it is not already generated. Alternatively you could add a stanza to $ESP/EFI/refind/refind.conf where $ESP is wherever the ESP is mounted.
Offline
2. remove vmlinuz-linux and initramfs-linux.img
No need to remove the current linux package, in fact it's probably best to leave both installed in case you have a problem with either.
3. mkinitcpio
This will be done automatically when you install the new kernel.
Offline
Thanks for the pointers! Will give it a spin tomorrow and mark as solved if it runs without problems.
Offline
Sorted! rEFInd sniffs out all available kernels on its own, so no need to update boot stanzas manually. The only change I made was to the refind_linux.conf, changing boot parameter initrd=/boot/initramfs-linux.img to initrd=/boot/initramfs-linux-rt-bfq.img.
Offline