diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index 17407fa..f54bdf8 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -260,7 +260,7 @@ install() { echo w) | gdisk "${install_path}" > /dev/null log "info" "Wrote partitions" log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")" - cryptsetup -y -v luksFormat "${install_path}" || exit + cryptsetup -y -v luksFormat "${install_path}p2" || exit log "info" "Requesting opening of $(important "${install_disk}")" cryptsetup open "${install_path}" cryptroot || exit log "info" "Creating file systems..." @@ -270,7 +270,7 @@ install() { mount /dev/mapper/cryptroot /mnt mkdir /mnt/boot - mount "${install_path}" /mnt/boot + mount "${install_path}p1" /mnt/boot local mem_amount mem_amount="$(grep MemTotal /proc/meminfo | tr -s " " | cut -d " " -f2)" mem_amount=$(( mem_amount * 3/2 / 1000 )) @@ -324,7 +324,7 @@ __EOF__ done <<< "$(lscpu)" yes | pacman -S grub efibootmgr "${ucode}" local disk_uuid - disk_uuid="$(blkid -s UUID -o value "${install_path}")" + disk_uuid="$(blkid -s UUID -o value "${install_path}p2")" echo disk uuid: $disk_uuid while read -r; do if [[ "${REPLY}" = "*GRUB_CMD_LINE*" ]]; then