Trying to get into my main EndeavousOS partition sends me into grub rescue mode saying error: file '/boot/grub/x86_64-efi/normal.mod' not found. Entering rescue mode...
I have no problem livebooting and chrooting into the affected partition, but I’m unsure where to go from here. I know I need to re-install/downgrade grub, but I am having trouble parsing the wiki on what I need to mount where.
If it helps, here is what I get from efibootmgr
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,2001,2002,2003
Boot0000* EFI Hard Drive (SAMSUNG MZALQ512HALU-000L2)
Boot0001* EFI USB Device (Memorex USB Flash Drive)
Boot0002* EFI PXE 0 for IPv6 (00-00-10-02-02-11)
Boot0004* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
In the live session, you would need to mount your root partition first and then the ESP.
Also make sure you are connected to Internet.
Open a terminal and:
1. sudo su
2. mount /dev/nvme0n1p2 /mnt
3. mount /dev/nvme0n1p1 /mnt/boot/efi
4. arch-chroot /mnt
5. pacman -Syu ## to update your system
6. pacman -S grub ## to re-install Grub
7. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS
8. grub-mkconfig -o /boot/grub/grub.cfg
9. exit ## to quit chroot
Hopefully this will resolve the issue.
If you get any error messages at any step please post it on the forum.
Good luck!
Edit- Inserting the important command arch-chroot /mnt