index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-05-15 14:23:59 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-05-15 14:23:59 +0200 |
commit | e8d241ec96070ab471eebf7cfc9094c341c42466 (patch) | |
tree | 2b8cad155bce7f06d176270dd4030fc37894e01b /examples | |
parent | ef1d475fd073a7a7e8254b4872b6c811f281248d (diff) | |
parent | baf857f4180c6826e1fc08dee88d5f0b4872fd07 (diff) |
-rw-r--r-- | examples/guided.py | 4 |
diff --git a/examples/guided.py b/examples/guided.py index 40bebabf..0ae253a0 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -283,8 +283,6 @@ def perform_installation_steps(): partition.format() else: archinstall.log(f"Did not format {partition} because .safe_to_format() returned False or .allow_formatting was False.", level=logging.DEBUG) - if hasUEFI(): - fs.find_partition('/boot').format('vfat')# we don't have a boot partition in bios mode if archinstall.arguments.get('!encryption-password', None): # First encrypt and unlock, then format the desired partition inside the encrypted part. @@ -294,8 +292,8 @@ def perform_installation_steps(): unlocked_device.format(fs.find_partition('/').filesystem) unlocked_device.mount('/mnt') else: - fs.find_partition('/').format(fs.find_partition('/').filesystem) fs.find_partition('/').mount('/mnt') + if hasUEFI(): fs.find_partition('/boot').mount('/mnt/boot') |