summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-03-18 17:25:39 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-03-18 17:25:39 +0100
commitc8929e831da5916c423cd39400e3eafa6e653254 (patch)
tree62cf43968e14e400f74dbe7db437edc76bffbe41
parentb3f36598ba1cfba147824dca69e793c29e3b13eb (diff)
downloadarchinstall-c8929e831da5916c423cd39400e3eafa6e653254.tar
archinstall-c8929e831da5916c423cd39400e3eafa6e653254.tar.zst
archinstall-c8929e831da5916c423cd39400e3eafa6e653254.zip
Implement Bootloader Installation
-rw-r--r--stages/second_stage.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh
index 1530a7d..ea623a7 100644
--- a/stages/second_stage.sh
+++ b/stages/second_stage.sh
@@ -61,3 +61,9 @@ echo "::1 localhost" >> /etc/hosts
# Setting root password
echo "root:${DEFAULT_PASSWORD}" | chpasswd
+
+
+# Install bootloader
+
+grub-install --target=i386-pc $path_to_disk
+grub-mkconfig -o /boot/grub/grub.cfg