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"
|
echo "Escoje el formato para la particion"
|
||||||
|
|
||||||
options=("EXT4" "BTRFS")
|
options=("EXT4" "BTRFS" "No formatear")
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
@@ -40,6 +40,11 @@ do
|
|||||||
"BTRFS")
|
"BTRFS")
|
||||||
formatoraiz="fsck.btrfs"
|
formatoraiz="fsck.btrfs"
|
||||||
break
|
break
|
||||||
|
;;
|
||||||
|
"No formatear")
|
||||||
|
#Asi no formateará
|
||||||
|
formatoraiz="echo unidad "
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
*) echo invalid option;;
|
*) echo invalid option;;
|
||||||
esac
|
esac
|
||||||
@@ -48,8 +53,13 @@ done
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install {
|
function install {
|
||||||
#pacstrap basicamente
|
echo "Instalando el sistema, espere.."
|
||||||
echo "Install"
|
$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 {
|
function horaidioma {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/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/archinstall.sh -O archinstall.sh
|
||||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O chrootinstall.sh
|
chmod +x archinstall.sh
|
||||||
chmod +x *.sh
|
|
||||||
./archinstall.sh
|
./archinstall.sh
|
||||||
Reference in New Issue
Block a user