mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-16 18:21:33 +01:00
changes
This commit is contained in:
@@ -170,16 +170,17 @@ if [[ $? != 0 ]];then
|
||||
fatalerror "Error de conexion con internet, compruebe la red"
|
||||
fi
|
||||
pacstrap -C /tmp/pacman.conf /mnt/ base
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/chrootinstall.sh
|
||||
mkdir -p /mnt/root/inst/
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh
|
||||
if [[ $? != 0 ]];then
|
||||
fatalerror "Error de conexion con internet, compruebe la red"
|
||||
fi
|
||||
chmod +x /mnt/root/chrootinstall.sh
|
||||
chmod +x /mnt/root/inst/chrootinstall.sh
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
cp /etc/netctl/* /mnt/etc/netctl/
|
||||
mv /tmp/pacman.conf /mnt/etc/pacman.conf
|
||||
argpart=$(echo $particionraiz | cut -c1-3)
|
||||
arch-chroot /mnt /bin/bash -c "./root/chrootinstall.sh $argpart $partefi"
|
||||
arch-chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $argpart $partefi"
|
||||
}
|
||||
clear
|
||||
mostrardialog "Script de instalación simple de Arch (BETA)" "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \n Ha sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso."
|
||||
|
||||
Reference in New Issue
Block a user