From a348842ea560a6f03f1bf829be4b80e1b81b2cf7 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 15 Jan 2024 18:33:11 +0100 Subject: [PATCH] Wipe the partitions as well --- scripts/format-disk.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/format-disk.sh b/scripts/format-disk.sh index 065f459..3caf39a 100755 --- a/scripts/format-disk.sh +++ b/scripts/format-disk.sh @@ -14,6 +14,8 @@ VGROUP=grouptoformat create_gpt() { echo "Create partition table." + wipefs -a $BOOT_PARTITION + wipefs -a $ROOT_PARTITION wipefs -a $DISK parted --script $DISK mklabel gpt parted --script $DISK mkpart ESP fat32 0% 1GiB