Prompt where to install grub to

This commit is contained in:
Salt 2020-12-04 02:50:32 -06:00
parent bcaf588de5
commit 8987f44a73
1 changed files with 2 additions and 1 deletions

View File

@ -304,10 +304,11 @@ build-gentoo-chroot() {
}
build-gentoo-chroot2() {
# Last few chroot steps, mostly involving GRUB
read -p "Enter device to install GRUB to: " grubdev
log "Configuring GRUB"
grub-mkconfig -o /boot/grub
log "Installing GRUB"
grub-install
grub-install "$grubdev"
cat <<-EOF
EOF
}