Force overwriting existing file systems

This commit is contained in:
Manuel Thalmann 2023-05-03 22:44:15 +02:00
parent e75dc3c57b
commit 1e8edc2f02

View file

@ -54,7 +54,7 @@ linuxDisk="${disks[3]}";
mkfs.fat -F 32 "$bootDisk";
mkswap "$swapDisk";
mkfs.ext4 "$linuxDisk";
mkfs.ext4 -F "$linuxDisk";
mount "$linuxDisk" /mnt;
mount --mkdir "$bootDisk" /mnt/boot;