summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
Diffstat (limited to 'stages')
-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