diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 13f0bac..3d29de6 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -255,13 +255,12 @@ tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9 pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs #Create fstab genfstab -U /mnt >> /mnt/etc/fstab - #Create or activate swap if neccesary if [[ $swaptype ]];then case $swaptype in 1) echo "Creando archivo swap, espere" - echo "dd if=/dev/zero of=/swapfile bs=1M count=$swapamount" + echo "dd if=/dev/zero of=/mnt/swapfile bs=1M count=$swapamount" dd if=/dev/zero of=/swapfile bs=1M count=$swapamount chmod 600 /swapfile mkswap /swapfile