mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-19 03:31:32 +01:00
changes
This commit is contained in:
@@ -389,7 +389,7 @@ if [[ -z $partefi ]];then
|
||||
esac
|
||||
else
|
||||
#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
|
||||
1)
|
||||
echo "Instalando rEFInd para UEFI"
|
||||
@@ -408,6 +408,7 @@ else
|
||||
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
|
||||
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)
|
||||
#No hará nada
|
||||
|
||||
Reference in New Issue
Block a user