From a8e97e5c917bf955dced19d879975c08f5e38ec9 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 29 Jan 2020 21:43:13 +0100 Subject: [PATCH] wip --- entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index b49ff76..400edf0 100755 --- a/entry.sh +++ b/entry.sh @@ -50,8 +50,8 @@ function first_stage(){ echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm pvcreate /dev/mapper/cryptlvm vgcreate vg0 /dev/mapper/cryptlvm - echo lvcreate /dev/vg0 -name=root -size=100G - lvcreate /dev/vg0 -name=root -size=100G + echo lvcreate /dev/vg0 --name=root --size=100G + lvcreate /dev/vg0 --name=root --size=100G yes | mkfs.ext4 /dev/vg0/root echo mount /dev/vg0/root $TARGET mount /dev/vg0/root $TARGET