dotfiles/sbin/install-grub.sh

18 lines
295 B
Bash
Raw Permalink Normal View History

2017-03-31 13:54:00 +02:00
#!/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