Skip to content

Instantly share code, notes, and snippets.

@Max95Cohen
Forked from AndersonIncorp/fix.sh
Created February 24, 2022 00:50
Show Gist options
  • Save Max95Cohen/305fda8b4b8556acf9646799af43440b to your computer and use it in GitHub Desktop.
Save Max95Cohen/305fda8b4b8556acf9646799af43440b to your computer and use it in GitHub Desktop.
GRUB loading. Welcome to GRUB! error: file `/boot/grub/i386-pc/normal.mod` not found.
# GRUB loading.
# Welcome to GRUB!
#
# error: file `/boot/grub/i386-pc/normal.mod` not found.
# Entering rescue mode...
grub rescue> ls
hd(0) (hd0,msdos1)
grub rescue> set
cmdpath=(hd0)
prefix=(hd0,msdos1)/boot/grub
root=hd0,msdos1
grub rescue> set prefix=(hd0,msdos1)/usr/lib/grub
grub rescue> insmod normal
grub rescue> normal
grub> ls (hd0,msdos1) # Display UUID
grub> linux /boot/vmlinuz-linux root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # Enter UUID
grub> initrd /boot/initramfs-linux.img
grub> boot
> pacman -Syyu
> grub-mkconfig -o /boot/grub/grub.cfg
> grub-install --recheck /dev/sda
> reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment