summaryrefslogtreecommitdiff
path: root/util/install_bootloader.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-22 15:20:25 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-22 15:20:25 +0100
commitb26983b4e967957f5ecc32d75663a723f97c2588 (patch)
tree2d22243e42ccd8c13696a9aae50d62a5911d90e2 /util/install_bootloader.sh
parent36bb8d372ab57d68dae365619bf20cf89a612021 (diff)
downloadarchinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar
archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar.zst
archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.zip
Reimplemented some modules for luks encryption.
Diffstat (limited to 'util/install_bootloader.sh')
-rw-r--r--util/install_bootloader.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/install_bootloader.sh b/util/install_bootloader.sh
index 29e211f..cf6c374 100644
--- a/util/install_bootloader.sh
+++ b/util/install_bootloader.sh
@@ -18,13 +18,13 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-boot_partition_path=$1
+efi_partition_path=$1
-mount $boot_partition_path /mnt
+mount $efi_partition_path /mnt
grub-install --target=x86_64-efi --efi-directory=/mnt --bootloader-id=GRUB \
--removable
grub-mkconfig -o /boot/grub/grub.cfg
-umount $boot_partition_path
+umount $efi_partition_path
echo "Installed bootloader - OK"