1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-21 04:23:44 +01:00
This commit is contained in:
kprkpr
2016-06-04 19:43:18 +02:00
parent 7138047850
commit 7e3e9a07d0

View File

@@ -186,6 +186,7 @@ function install {
clear
tput setaf 2 ; echo "Instalando el sistema, esto puede tardar unos 10 minutos, espere hasta el siguiente aviso" ; tput setaf 9
sleep 2
tput setaf 2 ; echo "Formateando y montando particiones..." ; tput setaf 9
$formatoraiz /dev/$particionraiz
mount /dev/$particionraiz /mnt/
if [[ $particionhome ]];then
@@ -201,6 +202,9 @@ wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O
if [[ $? != 0 ]];then
fatalerror "Error de conexion con internet, compruebe la red"
fi
tput setaf 2 ; echo "Optimizando la descarga..." ; tput setaf 9
reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
tput setaf 2 ; echo "Descargando..." ; tput setaf 9
pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs
mkdir -p /mnt/root/inst/
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh