diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index 6cd0d11..d0914d7 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -262,10 +262,10 @@ install() { log "info" "Wrote partitions" log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")" cryptsetup -y -v luksFormat "${install_path}p2" || exit - log "info" "Requesting opening of $(important "${install_disk}")" - cryptsetup open "${install_path}" cryptroot || exit + log "info" "Requesting opening of $(important "${install_disk}p2")" + cryptsetup open "${install_path}p2" cryptroot || exit log "info" "Creating file systems..." - mkdfs.fat -F32 "${install_path}" + mkdfs.fat -F32 "${install_path}p1" mkfs.ext4 "/dev/mapper/cryptroot" log "info" "Created file systems"