GRand Unified Bootloader (GRUB) is a common boot tool used in Linux distros. It handles loading Linux and other operating systems.
I've come across hard disk trouble a few times that were solved by reinstalling GRUB. For example on booting getting a GRUB prompt with a no such partition
error.
This has typically had to be done via booting with the Arch Linux install USB because it was impossible to boot otherwise. The process is the same as the initial install.
The process is:
lsblk
to get locations of disks./mnt
/mnt/home
/mnt/efi as applicable.
- Use
arch-chroot to get into the mounted stuff and install GRUB as normal, eg:
-
grub-install –target=x86_64-efi –efi-directory=/efi –bootloader-id=GRUB
-
grub-mkconfig -o /boot/grub/grub.cfg''