diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-18 17:25:39 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-18 17:25:39 +0100 |
commit | c8929e831da5916c423cd39400e3eafa6e653254 (patch) | |
tree | 62cf43968e14e400f74dbe7db437edc76bffbe41 | |
parent | b3f36598ba1cfba147824dca69e793c29e3b13eb (diff) | |
download | archinstall-c8929e831da5916c423cd39400e3eafa6e653254.tar archinstall-c8929e831da5916c423cd39400e3eafa6e653254.tar.zst archinstall-c8929e831da5916c423cd39400e3eafa6e653254.zip |
Implement Bootloader Installation
-rw-r--r-- | stages/second_stage.sh | 6 |
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 |