Unfortunately, the system also has its own housekeeping. With the next grub package update, the original file will be recreated, with the result that two same files will be executed during grub config creation. You should rename the file to its original name.
I also had the grub_debug_malloc error.
You said that you verified that you were on UEFI and that put me on the right track to a solution.
It wasn’t clear to me from the instructions and all the reading and researching I did, that I had to boot the EndeavourOS USB iso in UEFI mode.
I kept booting in ‘normal’ mode and then after some hints like yours I realised I needed to boot the USB in UEFI mode and then the instructions for reinstalling Grub made perfect sense for my EFI system.
All is good for me now
Finally!
I’m assuming systemd boot will be less prone to glitches mainly because it’s simpler.
Not really tried BTRFS but I don’t see why it would not be fine.
I found Dalto’s tutorial to be pretty good ([Tutorial] Convert to systemd-boot - #122 by JKMooney). I went the “kernel-install” route but, if you’re thinking of reverting back, perhaps the “manual” approach might be better. In any event, I would read the article, make sure it makes sense to you (for example, can you run a shell script you cut and pasted to a file?), and decide if this is the approach for you.
Timestamp --restore does give an option to re-install grub so I suspect it would work.
I also did not initially realize that you could have more than one boot file installed in the boot sector. You need to go into your motherboard settings and make sure the correct one is selected. I now believe the “grub_debug_malloc” error is an indication you have the wrong boot file selected in the motherboard.
I didn’t read all of the thread but, I would like to share that; for my two computers I didn’t downgrade GRUB. I just reconfigured and reinstalled GRUB using arch-chroot, grub-mkconfig, and grub-install.
Normally, I would have my older “tinker-box” PC to use as a sandbox to try out troubleshooting approaches on. Unfortunately, that box is running vanilla Arch and booting BIOS and just didn’t have the issue with the GRUB update.
Where can I learn to do that? I have InsydeH20 BIOS v1, yep it’s old, but it has UEFI and secure boot disabled. I don’t see any options like you describe.
Hello, I am in need of urgent help after the new update broke the system. I am a complete newbie and I am not able to follow through the recovery instructions in the latest thread about the update. I have mounted the boot partition but I am getting this error while using the command: sudo arch-chroot /mnt.
Please help.