mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 01:31:32 +01:00
changes
This commit is contained in:
@@ -130,7 +130,7 @@ if [[ ! $optpa -eq 3 ]];then
|
||||
tabletype="$(parted /dev/${hd} p | grep "Partition Table" | awk '1 {print $3}')"
|
||||
|
||||
if [[ $tabletype = "gpt" ]];then
|
||||
mostrardialog "GPT Partition Table" "Estas usando el estilo de particiones GPT, que utiliza UEFI, recuerda que tendras que tener y seleccionar la particion UEFI del sistema"
|
||||
mostrardialog "$(T "GPT Partition Table")" "$(T "You are using GPT, you will have to select EFI")"
|
||||
fi
|
||||
clear
|
||||
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
||||
@@ -225,7 +225,7 @@ if [[ ! $optpa -eq 3 ]];then
|
||||
fi
|
||||
;;
|
||||
2) swapamount=`dialog --stdout --inputbox "Memoria RAM: $(echo $ram) . Introduzca cuanta memoria para swap desea en MB" 9 50`;;
|
||||
3) mostrardialog "Swap" "JKArch detecta automaticamente las particiones swap bien creadas, no debe hacer nada mas";;
|
||||
3) mostrardialog "Swap" "$(T "JKArch autodetects swap partitions")";;
|
||||
esac
|
||||
|
||||
clear
|
||||
@@ -284,7 +284,7 @@ genfstab -U /mnt >> /mnt/etc/fstab
|
||||
if [[ $swaptype ]];then
|
||||
case $swaptype in
|
||||
1)
|
||||
echo "Creando archivo swap, espere"
|
||||
echo "$(T "Creating swap file")"
|
||||
dd if=/dev/zero of=/mnt/swapfile bs=1M count=$swapamount
|
||||
chmod 600 /mnt/swapfile
|
||||
mkswap /mnt/swapfile
|
||||
|
||||
@@ -97,6 +97,16 @@ case "$1" in
|
||||
"es") echo "Elige la particion EFI del sistema (Suele ser una particion de 300-500Mb en FAT32 llamada EFI, y suele estar en /dev/sda2)";;
|
||||
*) echo "Select EFI partition (Normally is a 300-500Mb FAT32/vfat partition called EFI)";;
|
||||
esac;;
|
||||
"GPT Partition Table")
|
||||
case $sclang in
|
||||
"es") echo "Tabla de particiones en GPT";;
|
||||
*) echo "$1";;
|
||||
esac;;
|
||||
"You are using GPT, you will have to select EFI")
|
||||
case $sclang in
|
||||
"es") echo "Estas usando el estilo de particiones GPT, que utiliza UEFI, recuerda que tendras que tener y seleccionar la particion UEFI del sistema.";;
|
||||
*) echo "You are using GPT, that uses UEFI, you will have to select the EFI partition.";;
|
||||
esac;;
|
||||
"Not valid")
|
||||
case $sclang in
|
||||
"es") echo "No valido";;
|
||||
@@ -197,7 +207,16 @@ case "$1" in
|
||||
"es") echo "Se abrira Gparted. Con el puedes editar, borrar,añadir y poner a tu gusto graficamente las particiones. \n Recuerda que al menos debe haber una particion ext4 primaria para el sistema. \n (Nota: No monte ninguna particion)";;
|
||||
*) echo "Gparted will be opened. With it, you can edit, erase, add, and modify partitions. \n Remember that,at least you have to have a root ext4 partition for JKArch.\n(Note: Do not mount any partition)";;
|
||||
esac;;
|
||||
|
||||
"JKArch autodetects swap partitions")
|
||||
case $sclang in
|
||||
"es") echo "JKArch detecta automaticamente las particiones swap bien creadas, no debe hacer nada mas";;
|
||||
*) echo "JKArch autodetects swap partitions, you dont have to do anything";;
|
||||
esac;;
|
||||
"Creating swap file")
|
||||
case $sclang in
|
||||
"es") echo "Creando archivo swap, espere";;
|
||||
*) echo "$1";;
|
||||
esac;;
|
||||
*) echo "$1";;
|
||||
esac
|
||||
}
|
||||
Reference in New Issue
Block a user