#!/bin/bash echo "Run the following commands:" echo echo "0. Make sure you have the proper drive and EFI partition mounted under /efi (Ex: sudo mount /dev/sda1 /efi)" echo "1. sudo grub-install --target=x86_64-efi --efi-directory=/efi/ --bootloader-id=GRUB" echo "2. sudo grub-mkconfig -o /boot/grub/grub.cfg"