From f03b234379a763cef632e92eee329ad49e95ebb3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 27 Feb 2018 15:45:40 +0100 Subject: [PATCH] Also overwrite part of the partition --- remove-all-partitions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remove-all-partitions b/remove-all-partitions index 60456d4..e49878d 100755 --- a/remove-all-partitions +++ b/remove-all-partitions @@ -7,5 +7,6 @@ fi disk=$1 + sgdisk -Z "$disk" -dd if=/dev/zero of=$disk bs=1M count=10 +dd if=/dev/zero of=$disk bs=1M count=150