Prompt where to install grub to
This commit is contained in:
parent
bcaf588de5
commit
8987f44a73
@ -304,10 +304,11 @@ build-gentoo-chroot() {
|
|||||||
}
|
}
|
||||||
build-gentoo-chroot2() {
|
build-gentoo-chroot2() {
|
||||||
# Last few chroot steps, mostly involving GRUB
|
# Last few chroot steps, mostly involving GRUB
|
||||||
|
read -p "Enter device to install GRUB to: " grubdev
|
||||||
log "Configuring GRUB"
|
log "Configuring GRUB"
|
||||||
grub-mkconfig -o /boot/grub
|
grub-mkconfig -o /boot/grub
|
||||||
log "Installing GRUB"
|
log "Installing GRUB"
|
||||||
grub-install
|
grub-install "$grubdev"
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user