diff --git a/archinstall/chrootinstall.sh b/archinstall/chrootinstall.sh index 4480b5c..b09b44a 100755 --- a/archinstall/chrootinstall.sh +++ b/archinstall/chrootinstall.sh @@ -389,10 +389,10 @@ 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)" 2 "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, no hay soporte si falla)" 3 "No, no instalar gestor de arranque"` case $optboot in 1) - echo "Instalando rEFInd para GPT/UEFI" + echo "Instalando rEFInd para UEFI" echo "AVISO, UEFI ES EXPERMIENTAL" pacman -S efibootmgr dosfstools refind-efi --noconfirm refind-install @@ -402,6 +402,13 @@ else echo "Boot with minimal options" "root=UUID='$(echo $rootuuid)'" >> /boot/refind_linux.conf ;; 2) + echo "Instalando GRUB en modo UEFI, normalmente falla" + pacman -S grub os-prober --noconfirm + sed -i 's/\GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 vga=current"/g' /etc/default/grub + 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 + 3) #No hará nada echo "No se ha instalado ningún gestor de arranque en el sistema" ;;