diff options
| author | Blake Romero <blake@blkrom.com> | 2024-03-28 16:55:52 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-03-28 16:55:52 +0000 |
| commit | 15290e8d55bf6910e9667657f4f0ca4921e98b0c (patch) | |
| tree | a4df4f313b8b6dbd0cda464a50d24d70068223e1 /install-artix.sh | |
| parent | 434e251c576d0988a512a08d4300f460f16e456f (diff) | |
Add wipefs command before creating partitions
Diffstat (limited to 'install-artix.sh')
| -rwxr-xr-x | install-artix.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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}" \ |
