mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 17:51:33 +01:00
changes
This commit is contained in:
@@ -29,7 +29,7 @@ done
|
||||
|
||||
echo "Escoje el formato para la particion"
|
||||
|
||||
options=("EXT4" "BTRFS")
|
||||
options=("EXT4" "BTRFS" "No formatear")
|
||||
select opt in "${options[@]}"
|
||||
do
|
||||
case $opt in
|
||||
@@ -40,6 +40,11 @@ do
|
||||
"BTRFS")
|
||||
formatoraiz="fsck.btrfs"
|
||||
break
|
||||
;;
|
||||
"No formatear")
|
||||
#Asi no formateará
|
||||
formatoraiz="echo unidad "
|
||||
break
|
||||
;;
|
||||
*) echo invalid option;;
|
||||
esac
|
||||
@@ -48,8 +53,13 @@ done
|
||||
}
|
||||
|
||||
function install {
|
||||
#pacstrap basicamente
|
||||
echo "Install"
|
||||
echo "Instalando el sistema, espere.."
|
||||
$formatoraiz /dev/$particionraiz
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf
|
||||
mount /dev/$particionraiz /mnt/
|
||||
pacstrap -C /tmp/pacman.conf /mnt/ base jka-toolkit git wget wifi-menu
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/tmp/chrootinstall.sh
|
||||
|
||||
}
|
||||
|
||||
function horaidioma {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/archinstall.sh -O archinstall.sh
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O chrootinstall.sh
|
||||
chmod +x *.sh
|
||||
chmod +x archinstall.sh
|
||||
./archinstall.sh
|
||||
Reference in New Issue
Block a user