Situatie
Solutie
First, install the grub
package using pacman:
pacman -S grub
Then, install these additional packages required for the bootloader to work properly:
pacman -S efibootmgr dosfstools os-prober mtools
Mount your EFI partition ( /dev/sda1 ) to the /boot/EFI directory. Note that you’ll have to create the directory first with mkdir:
mkdir /boot/EFI mount /dev/sda1 /boot/EFI
Finally, run the grub-install script to install the bootloader in the EFI directory:
grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=grub
Generate a GRUB configuration file using grub-mkconfig
as follows:
grub-mkconfig -o /boot/grub/grub.cfg
Leave A Comment?