From 14bfedd3bc97759f3c62fc1a928920f4d9ca1f41 Mon Sep 17 00:00:00 2001 From: poslop Date: Fri, 25 Jul 2025 16:34:49 -0500 Subject: [PATCH] moved partprobe --- Ventoy/CloneToDisk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ventoy/CloneToDisk.sh b/Ventoy/CloneToDisk.sh index 9e343bd..0be68c5 100755 --- a/Ventoy/CloneToDisk.sh +++ b/Ventoy/CloneToDisk.sh @@ -55,13 +55,13 @@ lz4 -dc PBX-LVM.img.lz4 | dd of=$disk_name status=progress echo "Repairing partition tables" sgdisk -e $disk_name sgdisk -v $disk_name +partprobe 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 # Inform the OS of partition table changes -partprobe $disk_name sleep 2 # Give the system a moment to recognize changes # Resize physical volume