rEFInd opens grub and not EndeavourOS

Hi, I’m using rEFInd for my dual boot and I can launch debian directly without having to go to grub but for endeavouros I have to go through grub. Is there a way to do like Debian ?

rEFInd is not detecting the kernels in your EOS installation but the GRUB bootloader.

Check what kind of directory structure is required for rEFInd to detect your kernel and how to get that. (dracut-hook)

If you haven’t already check the wiki for rEFInd.

This post might also be useful to you: rEFInd: How to make it automatically detect kernels?

I would recommend eos-dracut instead since… well they are using EndeavourOS.

(yay -S eos-dracut)

1 Like

@Witchoy

https://discovery.endeavouros.com/grub-and-refind/how-to-install-refind/2021/03/

1 Like

TIL. Switched to it.

I tried to do the 5th of this website but as I installed rEFInd from Debian I don’t know how to do it :frowning_face: But it helped me a lot to understand it better still thank you for your help !

Well I found this website difficult (i’m not a native english speaker and a newbie in Linux) so I didn’t really understand how to do it but I also think that installing rEFInd from Debian didn’t helped me lmao

If you want to use the easy, automatic method (in the link @ricklinux shared) you have to install the package on your Endeavour system as well.

sudo pacman -S refind

That will provide the rEFInd scripts, so you can run refind-install.

sudo refind-install

Running this script is what adds the refind_linux.conf file to /boot with the auto-detected kernels and parameters. Sometimes the automatic method will “just work”, although depending on your specific setup you may need to make some adjustments to refind.conf or refind_linux.conf.

It’s fine to run refind-install even if you already installed it from your other OS; it will automatically detect the existing installation on the EFI partition and leave your settings as they are.

The automatic method used to work just fine on EnOS, but since the default boot method directory changed, it might not now. A small adjustment (adding in the directory that contains the boot files) should be all that’s needed. As described in our Wiki about rEFInd, you can disable/hide the grub option once rEFInd has powered up the first time.
Hope this helps…

Thank you it was so easy but now I can finally boot into EOS without having to go through grub !

Well I now have double options and my refind.conf are the same in EOS or Debian and I don’t knwo how to fix it.


refind.pdf (142.3 KB)
theme.pdf (70.2 KB)

After you have identified the “good” one, you can remove the option you don’t want to use by pressing the Delete key. (It doesn’t actually delete anything, it just hides the extra options from the menu for you.)

I found ppl on ligne telling that but I don’t have a DEL key on my keyboard :sweat_smile: And I can’t find any other key to do so

Try the minus key (-).

it is not the minus key, well it does nothing :confused: I’ll try to find like a key config file to see if I can modify the key

You can use the Del or - key to hide boot entries. See here: https://www.rodsbooks.com/refind/configfile.html#hiding

Your delete key may be that one that says “suppr” (next to the power button), according to this: https://www.fixya.com/support/t4424435-delete_button_french_keyboard