Wipe the partitions as well
This commit is contained in:
parent
8fb4e4282b
commit
a348842ea5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue