Wipe the partitions as well

This commit is contained in:
Andreas Zweili 2024-01-15 18:33:11 +01:00
parent 8fb4e4282b
commit a348842ea5
1 changed files with 2 additions and 0 deletions

View File

@ -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