Files
linux-scripts/reinstall-grub
2023-08-02 01:14:42 -05:00

12 lines
600 B
Bash
Executable File

#!/bin/bash
echo "Run the following commands:"
echo
<<<<<<< HEAD
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 "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"
>>>>>>> 87ac7b206297330f25c4ce049614d23647387d46
echo "2. sudo grub-mkconfig -o /boot/grub/grub.cfg"