diff --git a/remove-all-partitions b/remove-all-partitions new file mode 100644 index 0000000..798d0a6 --- /dev/null +++ b/remove-all-partitions @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ $# -ne 1 ]; then + echo $0 disk-to-be-deleted + exit 1 +fi + +disk=$1 + +sgdisk -Z "$disk"