dotfiles/sbin/install-grub.sh
2017-03-31 13:54:00 +02:00

18 lines
295 B
Bash
Executable File

#!/bin/bash
set -x
# load settings from config file
. /etc/default/grub
# create config
grub-mkconfig -o /boot/grub/grub.cfg
# install on ssd and hdd
#grub-install --modules="$GRUB_PRELOAD_MODULES" /dev/sda
grub-install --modules="$GRUB_PRELOAD_MODULES" /dev/sdb
# sync and that's it
sync