From 5c1d3aba644a8337f950d06416095e78760a59ad Mon Sep 17 00:00:00 2001 From: lelgenio Date: Sat, 2 May 2020 23:57:04 -0300 Subject: [PATCH] installer: don't use contiguos swap to avoid headache --- arch_install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch_install b/arch_install index 0a2fe80..38a9ff2 100755 --- a/arch_install +++ b/arch_install @@ -310,13 +310,13 @@ setup_lvm() { # if the disk has more than if [ "$d_size" -gt $(( 50*10**9 )) ]; then # Create a 4GB swap partition - lvcreate --yes -C y -L4G "$volgroup" -n swap + lvcreate --yes -L4G "$volgroup" -n swap # Create a 50GB root partition lvcreate --yes -L '50G' "$volgroup" -n root else # Create a swap partition of 10% the disk - lvcreate --yes -C y -l '+10%FREE' "$volgroup" -n swap + lvcreate --yes -l '+10%FREE' "$volgroup" -n swap # Create root partition on 50% of free space lvcreate --yes -l '+50%FREE' "$volgroup" -n root