From c415b96d4a7ed075e9cba8bf41210232b4a989b8 Mon Sep 17 00:00:00 2001 From: rak-zero Date: Sun, 23 Feb 2020 09:57:31 +0100 Subject: [PATCH] fix console logs for InstallPrawnOS.sh during encrytion --- scripts/InstallScripts/InstallPrawnOS.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/InstallScripts/InstallPrawnOS.sh b/scripts/InstallScripts/InstallPrawnOS.sh index f8fcffa..a931578 100755 --- a/scripts/InstallScripts/InstallPrawnOS.sh +++ b/scripts/InstallScripts/InstallPrawnOS.sh @@ -122,11 +122,13 @@ install() { CRYPTO=true # Since iteration count is based on cpu power, and the rk3288 isn't as fast as a usual # desktop cpu, manually supply -i 15000 for security at the cost of a slightly slower unlock - echo "Enter the password you would like to use to unlock the encrypted root partition at boot" + dmesg -n 2 + echo "Enter the password you would like to use to unlock the encrypted root partition at boot" cryptsetup -q -y -s 512 luksFormat -i 15000 $ROOT_PARTITION || exit 1 echo "Now unlock the newly created encrypted root partition so we can mount it and install the filesystem" cryptsetup luksOpen $ROOT_PARTITION luksroot || exit 1 - ROOT_PARTITION=/dev/mapper/luksroot + dmesg -n 7 + ROOT_PARTITION=/dev/mapper/luksroot break ;; No,*|*,No )