fix partition table

This commit is contained in:
Pratham Patel 2023-10-16 11:04:42 +05:30
parent a21075fd8f
commit 1ac3f3ab0a
No known key found for this signature in database

View File

@ -40,6 +40,9 @@ function create_new_image {
dd bs=4M conv=sync status=progress if="${LOOPBACK_01}p1" if="${LOOPBACK_02}p1"
dd bs=4M conv=sync status=progress if="${LOOPBACK_01}p2" if="${LOOPBACK_02}p2"
dd bs=4M conv=sync status=progress if="${LOOPBACK_01}p3" if="${LOOPBACK_02}p3"
cat << EOF | fdisk "${LOOPBACK_02}"
w
EOF
sync; sync; sync; sync;
sleep 10