fix partition table
This commit is contained in:
parent
a21075fd8f
commit
1ac3f3ab0a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user