1.5.1 Bootloader

In the main repository, there is efibootmgr and grub to serve as bootloaders. efibootmgr can be used as a standalone bootloader, or can be used to install grub in a UEFI environment. efibootmgr is needed unless you are using a device without UEFI support (or you really want to use BIOS for a reason).

  1. GRUB BIOS installation
    cpt b grub && cpt i grub
    grub-install --target=i386-pc /dev/sdX
    grub-mkconfig -o /boot/grub/grub.cfg
    
  2. GRUB UEFI installation
    cpt b efibootmgr && cpt i efibootmgr
    cpt b grub && cpt i grub
    
    grub-install --target=x86_64-efi \
                 --efi-directory=esp \
                 --bootloader-id=CarbsLinux
    
    grub-mkconfig -o /boot/grub/grub.cfg