Files
linux-scripts/reinstall-grub
2023-08-02 01:11:58 -05:00

7 lines
324 B
Bash
Executable File

#!/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"