grub
GRUB
GRand Unified Bootloader (GRUB) is a common boot tool used in Linux distros. It handles loading Linux and other operating systems. Apparently you don't really need it anymore, but I'm past the point of wanting to fuck too much with my computer if it's working.
Installation
Re-installation
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:
- Boot into the Arch install environment (make sure you're in UEFI mode if your computer supports it. All the following instructions assume UEFI)
- Use
lsblk
to get locations of disks. - Mount those under
/mnt
and/mnt/boot
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=/boot –bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfg
- Reboot, cross your fingers.
grub.txt · Last modified: 2025/03/23 00:36 by rjt