You are not logged in.

#1 2020-08-24 13:11:20

greenleafvolatile
Member
Registered: 2019-08-10
Posts: 20

[SOLVED] re: rEFInd refind_linux.conf and refind_conf

Hi,

I just finished my 2nd arch installation. LUKS on LVM with rEFInd.

I had some trouble getting rEFInd working until I put "cryptdevice=/dev/MyVolGroup/cryptRoot:root root=/dev/mapper/root rw" in /boot/refind_linux.conf

I wanted to try some new themes so I messed about with /boot/EFI/refind/refind.conf.

My issue is that when I 'use' a stanza in /boot/EFI/refind/refind.conf I also get the the option specified in /boot/refind_linux.conf (so I have two arch option and a windows option).
But, when I remove the option in /boot/refind._linux.conf, I get no options at all on the rEFInd splash screen. How can I tell refind to only use /boot/EFI/refind/refind.conf?

Last edited by greenleafvolatile (2020-08-27 06:43:27)

Offline

#2 2020-08-24 14:19:11

claudici
Member
Registered: 2020-07-28
Posts: 21

Re: [SOLVED] re: rEFInd refind_linux.conf and refind_conf

For rEFInd, I think /boot/refind_linux.conf is absolutely necessary plus a menuentry in /boot/EFI/refind/refind.conf if you want customization.

What I did was put the kernel parameters from /boot/refind_linux.conf into the custom menuentry in /boot/EFI/refind/refind.conf.

Then in the rEFInd menu when you are shown the boot entries (should be two Arches + Windows as you described), select or hover over the option that shows up from /boot/refind_linux.conf and a neat trick is that you can press DELETE if I remember correctly to hide it in the menu. That way you only see the custom stanza you created.

Last edited by claudici (2020-08-24 14:22:15)

Offline

#3 2020-08-24 17:21:56

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: [SOLVED] re: rEFInd refind_linux.conf and refind_conf

I don't think you need a stanza for the OS that is already booting in /boot/refind_linux.conf (which means your ARCH installation). If you need a theme for it, you just configure the themes (background, text) in  /boot/EFI/refind/refind.conf and rEFInd will take care of it.
You need the stanza for the other OS you're booting. Again the basic theme is already configured but you might have to rename your custom OS icons so that rEFInd finds them.
I suggest leaving the stanzas first in the beginning, configure your main theme first, and add the other OS stanzas as needed.

Offline

#4 2020-08-27 06:43:02

greenleafvolatile
Member
Registered: 2019-08-10
Posts: 20

Re: [SOLVED] re: rEFInd refind_linux.conf and refind_conf

Thanks to the help of the above posters the issue is solved. Will mark as such.

I managed to hide a boot option from the rEFInd splash screen with Delete as described here:

https://www.rodsbooks.com/refind/configfile.html#hiding

Thanks for the feedback!

Offline

Board footer

Powered by FluxBB