This commit is contained in:
poslop
2025-07-25 11:45:56 -05:00
parent 42f71094fb
commit b55073bf24

View File

@@ -52,9 +52,11 @@ echo "Writing image to $disk_name..."
lz4 -dc PBX-LVM.img.lz4 | dd of=$disk_name status=progress
# Repartition disk using sgdisk
echo "Expanding Partition 3 on $disk_name..."
echo "Repairing partition tables"
sgdisk -e $disk_name
sgdisk -v $disk_name
echo "Expanding Partition 3 on $disk_name..."
sgdisk --delete=3 $disk_name
sgdisk --new=3:0:0 --typecode=3:8e00 --change-name=3:"Linux LVM" $disk_name