From 15290e8d55bf6910e9667657f4f0ca4921e98b0c Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Thu, 28 Mar 2024 16:55:52 +0000 Subject: Add wipefs command before creating partitions --- install-artix.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-artix.sh b/install-artix.sh index 6b58b8b..81dd771 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -89,6 +89,9 @@ unset input read -rp "Type YES (in uppercase letters) to begin installation: " input [[ "${input}" != "YES" ]] && exit +# Wipe file-system +wipefs -a "${drive}" + # Create partitions printf ',%s,"%s",*\n,%s,S\n,+,L\n' \ "${boot_size}" "${boot_type}" "${swap_size}" \ -- cgit