From a10b28e9cc71b3fbb479bc1f84dc064d8e92f89b Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 9 Jun 2019 22:16:15 +0200 Subject: Forcing overwriting exciting btrfs partition by doing -f --- archinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall.py') diff --git a/archinstall.py b/archinstall.py index 8c3bc84d..de546c3f 100644 --- a/archinstall.py +++ b/archinstall.py @@ -564,7 +564,7 @@ if __name__ == '__main__': exit(1) print('[N] Creating btrfs filesystem inside {drive}{partition_2}'.format(**args)) - o = b''.join(sys_command('/usr/bin/mkfs.btrfs /dev/mapper/luksdev').exec()) + o = b''.join(sys_command('/usr/bin/mkfs.btrfs -f /dev/mapper/luksdev').exec()) if not b'UUID' in o: print('[E] Could not setup btrfs filesystem.', o) exit(1) -- cgit v1.2.3-70-g09d2