From f1a06c7818fad65eeedcf5f67d8ac77e111e2d62 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Thu, 1 Aug 2024 16:16:48 -0400 Subject: [PATCH] Fix issues with parted-2 --- gentoo-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gentoo-install.sh b/gentoo-install.sh index ffca6e4..0004341 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -104,10 +104,10 @@ function prepare_format() { if [[ "$ENCRYPTION" ]]; then echo "Formatting Root: /dev/mapper/luksvol" - ${cmd} mkfs.btrfs -L "System" /dev/mapper/luksvol + ${cmd} mkfs.btrfs -f -L "System" /dev/mapper/luksvol else echo "Formatting Root: $RootPart" - ${cmd} mkfs.btrfs -L "System" "$RootPart" + ${cmd} mkfs.btrfs -f -L "System" "$RootPart" fi }