From c8929e831da5916c423cd39400e3eafa6e653254 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 18 Mar 2020 17:25:39 +0100 Subject: Implement Bootloader Installation --- stages/second_stage.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stages') 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 -- cgit v1.2.3-70-g09d2