mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-16 10:11:32 +01:00
changes
This commit is contained in:
@@ -323,15 +323,17 @@ optboot=`dialog --stdout --nocancel --menu "¿Instalar bootloader/gestor de arra
|
||||
|
||||
case $optboot in
|
||||
1)
|
||||
pacman -S grub os-prober --noconfirm
|
||||
#Arranque silencioso
|
||||
#sed -i 's/\GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/g' /etc/default/grub
|
||||
if [[ -z $partefi ]];then
|
||||
echo "Instalando GRUB para BIOS/MBR"
|
||||
pacman -S grub os-prober --noconfirm
|
||||
grub-install --target=i386-pc /dev/$argpart
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
else
|
||||
echo "Instalando GRUB para GPT/UEFI"
|
||||
echo "AVISO, GPT/UEFI ES EXPERMIENTAL, FALTA PROBARLO MAS, PUEDES QUEDARTE SIN ARRANQUE"
|
||||
pacman -S grub os-prober efibootmgr dosfstools --noconfirm
|
||||
pacman -S efibootmgr dosfstools --noconfirm
|
||||
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
fi
|
||||
@@ -345,7 +347,7 @@ esac
|
||||
|
||||
echo "Configuración de su sistema"
|
||||
echo "Paquetes basicos para la instalación, puede tardar un poco"
|
||||
pacman -Syu jka-toolkit git wget netctl iw wpa_supplicant dialog sudo alsa-utils --noconfirm
|
||||
pacman -Syu jka-toolkit git wget netctl iw wpa_supplicant dialog sudo alsa-utils --noconfirm --needed
|
||||
horaidioma
|
||||
|
||||
mkinitcpio -p linux
|
||||
|
||||
Reference in New Issue
Block a user