Arch Guide
05. Boot setup (GRUB)
Entering the environment
Just like in the previous step, we need to temporarily change our root directory to /mnt
by running:arch-chroot /mnt /bin/bash
Skip this if you didn't exit the environment in the first place!
Installing the GRUB package
To install the GRUB package, run:pacman -S grub
Installing GRUB to the system
For Legacy BIOS, run:grub-install /dev/[DISK]
For UEFI, run:grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch
The bootloader ID is the name of the boot entry in your BIOS, you can set it to something else if you'd like.
Next: Booting the system