Installation Guide/Configure GRUB

From ParabolaWiki
Jump to: navigation, search

GRUB configuration

Note:
  • If you want to install GRUB for the (U)EFI mode, you will need to make sure that:
    • The computer booted in (U)EFI mode (if /sys/firmware/efi exist, then it booted in (U)EFI mode)
    • The efivars module is loaded. (modprobe efivars will load it)
  • Installing GRUB on your disk:
    • BIOS:
# grub-install /dev/sdX

... where '/dev/sdX' in most cases, is the same disk that you mounted in the pacstrap step, typically the only physical disk in the computer. Note: this is NOT the '/dev/sdXN' partition that you mounted on /mnt (e.g. /dev/sda1), but the physical raw disk root itself (e.g. /dev/sda).

  • EFI:
# grub-install --efi-directory=/boot
  • To enable the GRUB bootloader at boot-time, install it to the boot disk, and generate an appropriate boot menu file: grub.cfg in the conventional location:
# grub-mkconfig -o /boot/grub/grub.cfg