grub
This is an old revision of the document!
GRUB
GRand Unified Bootloader (GRUB) is a common boot tool used in Linux distros. It handles loading Linux and other operating systems.
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
/mnt/homeas applicable. - Use
arch-chrootto 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'' - Reboot, cross your fingers.
grub.1604275883.txt.gz · Last modified: 2020/11/02 11:11 by rjt