Grub Error after today update

Hello …

Just did update thirty minutes ago and there
was everything going smooth.

After reboot only grub-error reports this :

error: invalid arch-independent ELF magic.
Entering rescue mode …
grub-rescue>

What should I type now ?! …

ls to get a list of partitions.

Would be interesting to see the logs of the update. For this you need a live iso
:backhand_index_pointing_down:

What I’d suggest is booting from a Live USB with a recent (preferably current) .ISO and running manjaro-chroot -a. (I presume that now works with BTRFS?).

You should be able to complete the updates properly from there. :wink:

@DirtyAngel

Using manjaro-chroot -a from a Live ISO/USB has been suggested; please find following more detail for clarification and reference, if needed:

Once you have successfully entered a chroot environment, you will be the Super User (root) and able to run commands from within your actual Manjaro system.

You are then able, for example, to perform a system update if it had previously not completed:

pacman -Syu
  • Notice that sudo is not used; because you would already be the Super User.

These tutorials also employ entering a chroot environment in order to solve issues; in case they may be useful:

Also this

https://wiki.manjaro.org/index.php/GRUB/Restore_the_GRUB_Bootloader

It is solved now - am back into my Manjaro Installation … TG … :

I booted with live-usb of Manjaro Gnome and typed there in terminal :

sudo grub-install /dev/partition-where-grub-is break=casper
and then
sudo update-grub /dev/partition-where-grub-is break=casper

That was it and I ignored the warning messages - then I rebooted my machine and am back into my Linux. Thank God … everything back in my realm !

Or have I to do something additionally ?! …

(No offense, … but the link of Teo does not work …
it leads to “bad gateway” ?! …)

Format code properly, post real output, don’t post AI slops as questions or solutions. That deteriorates forum quality and will not be accepted. The solutions have to be real and not imaginary. Changed solution to wiki.

Seems the wiki died again, i used old bookmark and didn’t check the wiki.
Someone will have to look at it @admins

In such cases, the web archive is your friend

The essence is: boot live usb, chroot,
manjaro-chroot -a
and then

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
grub-mkconfig -o /boot/grub/grub.cfg

Apparently it doesn’t like me.

503 Service Unavailable

No server is available to handle this request.

Not just you. The wayback machine snapshotted as the wiki was broken the previous time. So one has to go to 2025 for a working copy.

Perhaps I wasn’t clear, that’s what I get from the link you posted.

Haha, so we have a double down: seems the wayback machine is overloaded too. I guess we have to donate for infrastructure there too…

Web archive is back up again. :slight_smile: