aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjoes-arch-install-UEFI.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 3d64541..2cb2da4 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -926,7 +926,7 @@ fi
echo -e "${BBLUE}"
sleep 2
if [ "$efimode" = true ]; then
-arch-chroot /mnt/arch << ARCH_CHROOT_CMDS
+arch-chroot /mnt/arch << ARCH_CHROOT_EFI_GRUB_CMDS
clear
#===== VI. CONFIGURING BOOT ======#
# #
@@ -942,8 +942,18 @@ arch-chroot /mnt/arch << ARCH_CHROOT_CMDS
echo "exit" >> /boot/efi/startup.nsh
sleep 4
exit
-ARCH_CHROOT_CMDS
+ARCH_CHROOT_EFI_GRUB_CMDS
else
+arch-chroot /mnt/arch << ARCH_CHROOT_BIOS_GRUB_CMDS
+ clear
+ #===== VI. CONFIGURING BOOT ======#
+ # #
+ # 2. Configuring GRUB #
+ # #
+ #=================================#
+ sleep 4
+ exit
+ARCH_CHROOT_BIOS_GRUB_CMDS
fi
echo && echo
clear