This commit is contained in:
j3d1 2020-01-29 21:43:13 +01:00
parent 1336848e9e
commit a8e97e5c91

View file

@ -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