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