From 9c06148f4525b66b80b9b2a5cc4a56986a034f0c Mon Sep 17 00:00:00 2001 From: jedi Date: Sat, 9 May 2020 14:00:32 +0200 Subject: [PATCH] wip --- entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.sh b/entry.sh index 6aeae4c..99d5a29 100755 --- a/entry.sh +++ b/entry.sh @@ -73,7 +73,7 @@ function first_stage(){ pvcreate ${DEVICE}2 vgcreate vg0 ${DEVICE}2 - export LVM_SIZE=$(dev_size /dev/mapper/cryptlvm) + export LVM_SIZE=$(dev_size ${DEVICE}2) export SWAP_SIZE=$(($(mem_size)/1024/1024)) export ROOT_SIZE=$(($LVM_SIZE/1024/1024-$SWAP_SIZE-512))