Grub_debug_malloc after update

hey, i just booted - or at least tried to boot my pc, but as soon as i got past the POST it printed about 12 times "error - not enough memory - press enter to continue" or something along those lines, so i rebooted into a live session and did what i had to do on my laptop a few days prior - chrooting and reinstalling the bootloader - but this time it made the problem worse, now after the POST i'm landing in a grub rescue shell with the error error: symbol 'grub_debug_malloc' not found... i do not know how to continue from here, i just confirmed the memory is not broken and shows up like i would expect it, and the booting problem is still unclear for me since i just reinstalled the grub loader and it should have been cleared by it... also just confirmed again that my mainboard is indeed in UEFI mode. does someone know how to get my pc to boot again? already performed the steps at How to chroot Garuda Linux to chroot and then reinstalled the grub loader exactly like in the post and it told me "no errors reported" etc.

Probably you missed to search in the forum. We recently downgraded Grub in our repo to the previous working version. Try this (this would have worked when you found your problem, I hope it will still work in the current state):
Chroot into your system with your live USB
Do a

garuda-update

after that

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
update-grub

Exit from the chroot and reboot

2 Likes

i really did miss that, tho still the same problem... here's the full history of everything i did on the pc:

bash
lsblk
sudo mount /dev/sdb2 /mnt
sudo garuda-chroot /mnt/@
bash
garuda-update
lsblk
mount /dev/sdb1 /boot/efi
update-grub
grub-install --target=x86_64-efi --efi-directory =/boot/efi --bootloader-id=garuda --recheck update-grub
exit
exit
reboot

still same error message error: symbol 'grub_debug_malloc' not found.

The only thing which looks wrong is that these two should be swapped.
I don't know if the mounts are correct, of course, also considering your previous inxi's and topics, and the general status of your system.
Sorry...

the mounts are correct, hence i did lsblk twice, sdb is the ssd for garuda, partition 1 is the efi partition, partition 2 is the root partition and partition 3 is the swap, hence i didn't mention it because of swap is not relevant to that, but thank you anyways, changing those around did not work either

Did you happen to restore a snapshot in this recent period?
I'm asking that because in the terribly long thread regarding the grub issue I seem to understand that @Kayo had the same problem but probably a snapshot was involved there.
Maybe they can help :blush:
In the meanwhile you could search for grub_debug_malloc in the forum you'll find a couple of posts about it. But I really gave up in following that sub-branch of the problem.

1 Like

i have just got it to work... my mainboard was defaulting to some mode that is not AHCI for the drives and i changed it to be AHCI and somehow that did that... never had to do that until now and i didn't do a bios update in a bit... thank you for helping c:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.