2

I posted this same post on r/archlinux but have not gotten much results.

I updated Arch Linux (vanilla), but now GRUB boots into firmware. (I am sure a lot of you guys have known this issue, and I did know about this prior to updating, but when i updated it the fix didn't work in my environment.)

I am currently posting this inside of the EndeavourOS Live environment.

I have chrooted:

sudo mount <root partition> /mnt
sudo mount <efi partition> /mnt/boot/efi
sudo arch-chroot /mnt

(Replaced with my root partition and with my efi partition because obviously I am running UEFI.)

and I have reinstalled GRUB thanks to this post by EndeavourOS: https://forum.endeavouros.com/t/the-latest-grub-package-update-needs-some-manual-intervention/30689

grub-install
grub-mkconfig -o /boot/grub/grub.cfg

and grub gives this error:

error: symbol grub_debug_malloc not found

Grub then puts me in grub rescue. As I understand it, some files are missing. I tried this same process multiple times but it still did not work.

Is there a fix? Do I need to reinstall Arch Linux?

Thank you.

user541458
  • 21
  • 2
  • When exactly does the `error: symbol grub_debug_malloc not found` message appear? Does it show up when you run `grub-install`, or when you run `grub-mkconfig`, or does it appear when you are trying to boot? – telcoM Sep 15 '22 at 06:16
  • @telcoM after all thr commands are run and a reboot is done. – Paiusco Nov 26 '22 at 14:20
  • Seems like there's an issue with the boot order in this case, so grub is choosing the incorrect one... I'm trying to find out why the option with `efibootmgr` https://forum.endeavouros.com/t/the-latest-grub-package-update-needs-some-manual-intervention/30689 from here is not becoming persistent after reboot – Paiusco Nov 26 '22 at 15:06
  • If the configuration made by `efibootmgr` does not "stick", it might be a firmware bug. [Roderick W. Smith has listed some workarounds for such situations.](https://www.rodsbooks.com/refind/bootcoup.html) His advice is written for the rEFInd boot manager, but the ideas should be mostly applicable to UEFI version of GRUB too. – telcoM Nov 26 '22 at 16:20

0 Answers0