diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-09-16 21:52:30 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-09-16 21:52:30 +0200 |
commit | 0375e041c36556d30b7b5a3e270269a48daf0882 (patch) | |
tree | 466f9d6d9e4ca88417392796167374a4efd09afc /bin/install_bootloader.sh | |
parent | d1df29a4a74dacc5da224ce042504c68b4e71ef3 (diff) | |
download | archinstall-0375e041c36556d30b7b5a3e270269a48daf0882.tar archinstall-0375e041c36556d30b7b5a3e270269a48daf0882.tar.zst archinstall-0375e041c36556d30b7b5a3e270269a48daf0882.zip |
Added scripts in /bin folder.
Diffstat (limited to 'bin/install_bootloader.sh')
-rw-r--r-- | bin/install_bootloader.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/install_bootloader.sh b/bin/install_bootloader.sh new file mode 100644 index 0000000..8c035ee --- /dev/null +++ b/bin/install_bootloader.sh @@ -0,0 +1,16 @@ + + +# Install Grub + +pacman --noconfirm -Syu grub efibootmgr +mount $1 /mnt # $1 = boot_partition_path +grub-install --target=x86_64-efi --efi-directory=/mnt --bootloader-id=GRUB --removable +grub-mkconfig -o /boot/grub/grub.cfg +umount $1 +echo "Grub bootloader installed - OK" +echo "" +sleep 1 + +echo "Leaving chroot environment - OK" +echo "" +sleep 1 |