1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-19 03:31:32 +01:00
This commit is contained in:
kprkpr
2016-06-05 16:07:34 +02:00
parent b2eeb3c306
commit 7090475eee

View File

@@ -389,7 +389,7 @@ if [[ -z $partefi ]];then
esac esac
else else
#Si usa EFI, preguntar por instalar rEFInd #Si usa EFI, preguntar por instalar rEFInd
optboot=`dialog --stdout --nocancel --menu "¿Instalar bootloader/gestor de arranque?" 0 0 4 1 "Si (rEFInd) (Recomendado)" 2 "Si (GRUB) (Suele fallar, no hay soporte si falla)" 3 "No, no instalar gestor de arranque"` optboot=`dialog --stdout --nocancel --menu "¿Instalar bootloader/gestor de arranque?" 0 0 4 1 "Si (rEFInd) (Recomendado)" 2 "Si (GRUB) (Suele fallar)" 3 "No, no instalar gestor de arranque"`
case $optboot in case $optboot in
1) 1)
echo "Instalando rEFInd para UEFI" echo "Instalando rEFInd para UEFI"
@@ -408,6 +408,7 @@ else
pacman -S efibootmgr dosfstools --noconfirm pacman -S efibootmgr dosfstools --noconfirm
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck
grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg
mostrardialog "GRUB" "GRUB fue instalado. Si no funciona, verificar en la bios que este seleccionado grub_uefi o grub como arranque, y no Windows u otro"
;; ;;
3) 3)
#No hará nada #No hará nada