archbuild/grub_updater/grub-updater.sh

10 lines
244 B
Bash
Executable File

#!/bin/sh
echo "Updating grub config."
grub-mkconfig -o /boot/grub/grub.cfg
echo "Reinstalling grub."
grub-install --removable
#grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB
#grub-install --target=i386-pc /dev/sdX