diff --git a/scripts/0-preinstall.sh b/scripts/0-preinstall.sh index e6a3b32..b46c5e2 100755 --- a/scripts/0-preinstall.sh +++ b/scripts/0-preinstall.sh @@ -113,8 +113,8 @@ if [[ $INSTALL_IN = "PART" ]]; then # Checking if install to partition fi formatandmount # mount EFI partition - mkdir -p /mnt/boot/EFI - mount -t vfat ${EFIpartition} /mnt/boot/EFI + mkdir -p /mnt/boot/efi + mount -t vfat ${EFIpartition} /mnt/boot/efi elif [[ $(sudo sudo fdisk -l | grep -i '^Disklabel type') = "Disklabel type: gpt" ]]; then # Checking for GPT Disk Label on a Legacy BIOS (non UEFI) System formatandmount fi @@ -144,8 +144,8 @@ if [[ $INSTALL_IN = "DISK" ]]; then # Checking if install to disk mkfs.vfat -F32 -n "EFIBOOT" ${EFIpartition} formatandmount # mount EFI partition - mkdir -p /mnt/boot/EFI - mount -t vfat -L EFIBOOT /mnt/boot/EFI + mkdir -p /mnt/boot/efi + mount -t vfat -L EFIBOOT /mnt/boot/efi fi diff --git a/scripts/3-post-setup.sh b/scripts/3-post-setup.sh index f0e156f..0391a5f 100755 --- a/scripts/3-post-setup.sh +++ b/scripts/3-post-setup.sh @@ -21,9 +21,9 @@ source ${HOME}/ArchTitus/configs/setup.conf if [[ -d "/sys/firmware/efi" ]]; then if [[ $INSTALL_IN = "PART" ]]; then - grub-install --efi-directory=/boot/EFI ${PART} + grub-install --efi-directory=/boot/efi ${PART} elif [[ $INSTALL_IN = "DISK" ]]; then - grub-install --efi-directory=/boot/EFI ${DISK} + grub-install --efi-directory=/boot/efi ${DISK} fi echo -ne "