Restructure, Sgdisk -e

This commit is contained in:
poslop
2025-07-25 09:35:03 -05:00
parent 1c42a5c6f6
commit 48afe6b4bc
3 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
PBX.img PBX.img
PBX.qcow2 PBX.qcow2
PBX-Test.qcow2

0
Image/PBX.img.lz4 Normal file → Executable file
View File

View File

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