From 1ac3f3ab0a2967f808412be3c9ad89811af05535 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 16 Oct 2023 11:04:42 +0530 Subject: [PATCH] fix partition table --- create-image.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/create-image.sh b/create-image.sh index f59a747..907f901 100755 --- a/create-image.sh +++ b/create-image.sh @@ -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