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