Looks like the same problem that upstream grub has. Is rEFInd using os-prober?
Are you using it to boot grub? Iâm trying to get it to just boot off the images. I installed Arch via Anarchy and i had to reinstall refind and itâs not working to boot Arch only EndeavourOS. How do i get it to find the Arch install. The Entries it added just boot up to a some problem and quits.
Here is the /boot/grub/grub.cfg for the Arch install with Anarchy.
Here is the /etc/default/grub entries
It contains entries only for Anarchy. You didnât have any other OS on that machine?
And it does not contain any microcode image on the initrd lines. I guess you donât have any microcode package installed?
I had endeavouros installed but i canât get it to work with grub or refind. Itâs very frustrating to me when it doesnât work and i canât figure it out.
Edit: Well at least EndeavourOS works.
In a way, I suppose. rEFInd can happily boot regardless, and doesnât end up trying to boot the XXX-ucode.img file, but it WILL leave it out if you donât configure it. If you do configure it, though, it will use the proper entry to add microcode to ALL alternative boot entries (fallback image, LTS, -zen etc) unlike the grub even provided within Arch itself! The configuration itself mostly consists of adding in initrd=/boot/XXX-ucode.img in front of the initramfs entry it automatically generated on install.
I am quite sure rEFInd does its own probing, BTW, as it can handle secure boot as well if you want it to. So far I havenât even learned how MOK and shim etc work, thoughâŚ
Freebird54
Have you checked you have os-prober installed in Anarchy?
IT should pick up the Arch install automagically. Did you tell it to use the same ESP as the Endeavour install? Does Anarchy put the vmlinuz-linux file in /boot ? Does grub put a grubx64.efi in /boot/efi/EFI/arch/ ?
Alternatively, is EndeavourOS installed on /boot/efi/EFI/EndeavourOS ? rEFInd could boot it even if it wasnât done with UEFI, but Anarchy might not find it??
Youâve got me a bit confused
Freebird54
AFAIK, at least for grub if you want to detect other operating systems. Donât really know about rEFInd. And the rEFInd problem seems the same as grub hasâŚ
Maybe as @manuel said i need os-prober on Anarchy install also? So far i either got it to boot just EndeavourOS or Anarchy Arch but not both without resorting to changing boot order and boot from UEFI.
rEFInd doesnât use it, it does its own probing (with more success). And it doesnât have the os-prober problem either - it wonât object if you donât have microcode, and if you DO have it, it needs to be told (once) that you have it (as shown). IT never will refuse to boot (or cause a kernel panic) like os-prober/grub will.
Freebird54
That sounds strange. Unless⌠maybe rEFInd isnât currently first in the NVRAM EFI boot order? IN that case, either enter BIOS to set it as the first âbooterâ, or, from EndeavourOS (where you installed rEFInd, right?) try
refind-mkdefault
and it will do that for you. Or you could even just install rEFInd in Arch, and its refind-install also should âbubbleâ its entry to the top of NVRAM.
Freebird54
I have tried it all and itâs not working for me so iâm going to go a different route. What 5 do you have installed? What is the first one? Where did that logo come from? I will try Arco Linux and EndeavourOS and see.
My five, currently (and probably in the right order per rEFInd) are:
Xubuntu 19.10 (thatâs the mouse)
ArcoLinux (its own logo)
EndeavourOS (its own logo)
Arch (rEFIndâs logo for Arch)
MX19 (logo from googling)
Iâve never tried Anarchy install, so I have no real idea whatâs happening there. If it is bootable, though, it SHOULD be picked up rEFInd in auto mode. Perhaps a screenshot of whatâs on rEFInd that isnât working? F10 dumps a screenshot as (I think) a .bmp, into its own directory on the ESP.
Freebird54
BTW - Arco is an oddball distro - it is what happens when you put in what Joe wants, and what Jim wants, and Bob, and Peter, and Misha, and Giovanni, and ⌠Thank heaven Endeavour is fighting the desire to appeal to everyone out-of-the-box! On the other hand, there are LOT of good ideas in there, and configurations well worth âborrowingâ. Thunar config is nice, and the scripts to take you from base install to DE of your choice are worth pruning and usingâŚ
Fb
Yes, i just installed Arco linux and i have the Endeavouros Logo on rEFind and the Penguin for Arco. So that is working. Now i have to figure out how to change the Arco Linux icon. Yes Arco linux is worse than oddball! Way too much installed and i didnât pick anything. Not liking it! But right now itâs just a test so i can figure this out⌠I would rather install Arch from scratch now because Anarchy isnât working for me. On itâs own itâs fine. So now i attempt to change the logo? What else is really necessary? Does it load microcode this way or not?
Edit: Do i change the icon in Arco linux? So i have to be booted into Arco to do it? rEFind is installed in EndeavourOS?
It is easier to be in Arco to do this, as there are a pile of choices in .config/arcolinux-logo/
Just sudo cp the one of your choice to /boot/efi/EFI/refind/icons/os_arcolinux.png
If you have the microcode file installed (yay microcode OR yay amd-ucode if AMD etc)
then modifying the refind-linux.conf file to include (as shown in the wiki) will make it work on that setup, as a similar edit will make it work in Endeavour, or Arch. Without the microcode, it will work fine, but you wonât have the âfixesâ installed. Of less importance for AMD than Intel, I think, but still nicer to have.
Oh - and for the truly lazy, sneaky, etc - just install EndeavourOS (or work with one already there), and just sudo rename /boot/efi/EFI/EndeavourOS /boot/efi/EFI/arch - probably change the contents of lsb-release - presto! -instant Arch install After all - it IS Arch, nearlyâŚ
(Can you imagine posting that in the Archforums?)
Freebird54
Iâm still having a hard time following this but iâll try.
@2000: During the last seven years I tried rEFInd from time to time but I actually never got it working flawlessly. The only way I could invoke it was hitting F12 and selecting it as temporary boot entry. Directly starting it did not work, I ended up with a blank screen. Two days ago I finally found a solution, In my BIOS (Thinkpad E530) there is a setting called QuickMode. Basically it simply displays the Lenovo logo and a hint to press Enter. I switched this setting to Diagnostics. Now there is no nice logo but the usual gibberish about firmware version and such, butâŚrEFInd came up!!! So now I finally have a nice and working rEFInd wihout the need to still keep a non-encrypted grub around when there is the need e.g. to start Windows.
@Bryanpwo, @joekamprad or @manuel or any other moderator around: I apologize for bumping and hijacking this old thread, but I am really excited about this. Covid-19 lockdown makes one happy about the small things.
No problem, in this case youâre not referring to an old bug, it is feedback.