wip
This commit is contained in:
parent
1336848e9e
commit
a8e97e5c91
1 changed files with 2 additions and 2 deletions
4
entry.sh
4
entry.sh
|
@ -50,8 +50,8 @@ function first_stage(){
|
||||||
echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm
|
echo $luks_password | cryptsetup luksOpen ${DEVICE}2 cryptlvm
|
||||||
pvcreate /dev/mapper/cryptlvm
|
pvcreate /dev/mapper/cryptlvm
|
||||||
vgcreate vg0 /dev/mapper/cryptlvm
|
vgcreate vg0 /dev/mapper/cryptlvm
|
||||||
echo lvcreate /dev/vg0 -name=root -size=100G
|
echo lvcreate /dev/vg0 --name=root --size=100G
|
||||||
lvcreate /dev/vg0 -name=root -size=100G
|
lvcreate /dev/vg0 --name=root --size=100G
|
||||||
yes | mkfs.ext4 /dev/vg0/root
|
yes | mkfs.ext4 /dev/vg0/root
|
||||||
echo mount /dev/vg0/root $TARGET
|
echo mount /dev/vg0/root $TARGET
|
||||||
mount /dev/vg0/root $TARGET
|
mount /dev/vg0/root $TARGET
|
||||||
|
|
Loading…
Reference in a new issue