Prepare
- To generate grub.cfg automatically, remember to install ‘os-prober’.
$ sudo pacman -Syu os-prober
Configure
$ sudo grub-install –target=x86_64-efi –efi-directory=/boot/EFI –recheck
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
$ sudo pacman -Syu os-prober
$ sudo grub-install –target=x86_64-efi –efi-directory=/boot/EFI –recheck
$ sudo grub-mkconfig -o /boot/grub/grub.cfg