From 48afe6b4bc73c16807355e53693cf6045df1b18c Mon Sep 17 00:00:00 2001 From: poslop Date: Fri, 25 Jul 2025 09:35:03 -0500 Subject: [PATCH] Restructure, Sgdisk -e --- .gitignore | 1 + Image/PBX.img.lz4 | 0 CloneToDisk.sh => Ventoy/CloneToDisk.sh | 1 + 3 files changed, 2 insertions(+) mode change 100644 => 100755 Image/PBX.img.lz4 rename CloneToDisk.sh => Ventoy/CloneToDisk.sh (99%) diff --git a/.gitignore b/.gitignore index 60ec331..a1205f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ PBX.img PBX.qcow2 +PBX-Test.qcow2 diff --git a/Image/PBX.img.lz4 b/Image/PBX.img.lz4 old mode 100644 new mode 100755 diff --git a/CloneToDisk.sh b/Ventoy/CloneToDisk.sh similarity index 99% rename from CloneToDisk.sh rename to Ventoy/CloneToDisk.sh index dc347c7..bd6ca7c 100755 --- a/CloneToDisk.sh +++ b/Ventoy/CloneToDisk.sh @@ -52,6 +52,7 @@ lz4 -dc PBX-LVM.img.lz4 | dd of=$disk_name status=progress # Repartition disk using sgdisk echo "Expanding Partition 3 on $disk_name..." +sgdisk -e $disk_name sgdisk -v $disk_name sgdisk --delete=3 $disk_name sgdisk --new=3:0:0 --typecode=3:8e00 --change-name=3:"Linux LVM" $disk_name