Arch Linux Installation: 1.prepare An Installation Medium
Arch Linux Installation: 1.prepare An Installation Medium
13.Boot loader
Install GRUB Bootloader on a Non-UEFI System
1. Add the GRUB bootloader packages by using the pacman manager:
# pacman -S grub os-prober
2. Install the GRUB bootloader:
# grub-install /dev/sdX
3. Create a GRUB configuration file by using:
# grub-mkconfig -o /boot/grub/grub.cfg
Install GRUB Bootloader on a UEFI System
1. Add the GRUB bootloader packages by using the pacman manager:
# pacman -S grub efibootmgr
2. Create a directory for the EFI partition:
# mkdir /boot/efi
3. Mount your bootable partition to the directory you created:
# mount /dev/sdX1 /boot/efi
4. Install GRUB by using:
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-
directory=/boot/efi
5. Finally, create a GRUB configuration file:
# grub-mkconfig -o /boot/grub/grub.cfg
14.Reboot
Exit the chroot environment by typing exit or pressing Ctrl+d.
# umount -R /mnt
# reboot