Dropped into rescue mode, when trying to exit, it says “grub_debug_malloc” not found

Hey, my pc crashed when I tried to switch users and I after a reboot, I got dropped into the emergency shell.
Usually, when this happens, I get out by setting the prefix and running “insmod normal”, “normal”. This time instead, after running “insmod normal”, it tells me:
error: symbol “grub_debug_malloc” not found.

What can I do to normally boot into my machine again?
Thanks in advance

This Helps:

I can not run any commands like cat, etc. it tells me “Unknown command”, I can’t get out of the emergency shell

You must chroot your System

and then this in Your Terminal:

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

How can I chroot from the security shell?

Do i need to get manjaro on a usb stick and do it that way?

the switching users is not very likely cause of this issue …
and what do you mean with when this usually happens?
so you have frequent crashes?

I had them one or two times before (in a period of a year)

and what were you doing prior to this crash? the switching users is not what caused the grub issue …
were you installing/uninstalling/modifying something?

No, I didn’t install/updating anything. I just wanted to reboot to start into my windows partition, switched users and then it hung up. I shut my pc down and when restarting I got stuck there.

I was installing stuff like nvim, but nothing major

hmm… so you have to chroot and reinstall grub and hopefully it will work …
get yourself a manjaro usb and boot into it, connect to internet, and chroot:
sudo manjaro-chroot -a
then we will continue …
hopefully you are not using btrfs?

Ok, I am in my live session (from an usb stick). No i am not using btrfs, why would that be bad though?

I can’t paste any output, so i hope pictures are enough (I can’t use firefox on the live session for some kind of security certificate reason)

so chroot as describe above and post output from this:
test -d /sys/firmware/efi && echo efi || echo bios
if there are any error from the chroot command post them here…
you cant chroot into btrfs using this command, you have to do it manually and use some specific btrfs commands

use the command that is mentioned there the system reload command

This is the output

did you used the system reload command?
if yes post output from:
cat /etc/fstab

What system, reload command? Should I follow the tutorial that @josefine provided in an earlier comment?

when you run the chroot command there was a warning about your fstab and a recommended reload command, so use the command and then post output from:
cat /etc/fstab

Also, this is the output from blkid:

loop0         7:0    0  21.2M  1 loop 
loop1         7:1    0 717.4M  1 loop 
loop2         7:2    0   1.9G  1 loop 
loop3         7:3    0 645.3M  1 loop 
sda           8:0    1  58.6G  0 disk 
|-sda1        8:1    1   3.3G  0 part 
`-sda2        8:2    1     4M  0 part 
nvme0n1     259:0    0 953.9G  0 disk 
|-nvme0n1p1 259:1    0   100M  0 part /boot/efi
|-nvme0n1p2 259:2    0    16M  0 part 
|-nvme0n1p3 259:3    0 440.3G  0 part 
|-nvme0n1p4 259:4    0   755M  0 part 
`-nvme0n1p5 259:5    0 512.7G  0 part /
```How do I know where my system is located? Do I see this by the size of the different devices? (-nvme0n1p3)

no this is not output from blkid … it looks like its from lsblk
post output from:
cat /etc/fstab