1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 02:01:32 +01:00
This commit is contained in:
kprkpr
2016-06-05 20:07:34 +02:00
parent 56c4705b6f
commit 6f33715557
2 changed files with 19 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ case $optpa in
clear
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
tput setaf 6 ; echo "Elige el disco duro a borrar y cambiar por una particion Linux simple para JKArch" ; tput setaf 9
tput setaf 6 ; echo "$(T "Select hard disk to delete and use by JKArch")" ; tput setaf 9
options=($(lsblk --output KNAME | cut -c1-3 | sort | uniq | sed '1d' | grep 'sd\|hd') "Salir")
select opt in "${options[@]}"
do
@@ -162,7 +162,7 @@ if [[ ! $optpa -eq 3 ]];then
2)
clear
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
tput setaf 6 ; echo "Elige la particion EFI del sistema (Si usa windows, suele ser una particion de 300-400Mb en FAT32 llamada EFI, y suele estar en /dev/sda2)" ; tput setaf 9
tput setaf 6 ; echo "$(T "Select EFI partition")" ; tput setaf 9
options=($(lsblk --output KNAME | sed '1d'| grep 'sd\|hd'))
select opt in "${options[@]}"
do
@@ -203,7 +203,7 @@ wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O
if [[ $? != 0 ]];then
fatalerror "$(T "Network connection error, please check it")"
fi
tput setaf 2 ; echo "Optimizando la descarga..." ; tput setaf 9
tput setaf 2 ; echo "$(T "Optimizing download")" ; 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