upadating lvm

This commit is contained in:
mfgbhatti 2022-02-05 00:07:15 +00:00
parent a155ad9890
commit 5b59af75c2
2 changed files with 3 additions and 1 deletions

View File

@ -117,6 +117,8 @@ if [[ "$LAYOUT" -eq 1 ]]; then
elif [[ "$LVM" -eq 1 ]]; then
do_partition
sgdisk --typecode=3:8e00 "$DISK"
partprobe "$DISK"
make_boot "$BOOT" "$PART2"
pvcreate "$PART3"
vgcreate "$LVM_VG" "$PART3"

View File

@ -223,7 +223,7 @@ echo -ne "
# TODO ask user for mount points i.e. boot may be home etc
BOOT=EFIBOOT
ROOT=ROOT
MOUNTPOINT="/mnt"
MOUNTPOINT=/mnt
EOF
}