diff options
Diffstat (limited to 'server/tftpboot')
-rw-r--r-- | server/tftpboot/grub/default | 14 | ||||
-rw-r--r-- | server/tftpboot/grub/examples/grub | 4 | ||||
-rw-r--r-- | server/tftpboot/grub/examples/refind | 4 | ||||
-rw-r--r-- | server/tftpboot/grub/templates/10 | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/server/tftpboot/grub/default b/server/tftpboot/grub/default index e5c74035..44620b6b 100644 --- a/server/tftpboot/grub/default +++ b/server/tftpboot/grub/default @@ -1,17 +1,17 @@ # Busca cargadores existentes por orden de prioridad y # muestra menĂș con las opciones. # Si no existe ningĂșn cargador de arranque muestre mensaje de error. -set timeout=5 +set timeout=30 set detectado='no' # Compruebo si existen distintos cargadores. -echo "Searching rEFInd" -search --file --set rootRefind /EFI/refind/shimx64.efi.signed -if [ "$rootRefind" != "" ]; then +echo "Searching Grub" +search --file --set rootGrub /EFI/grub/Boot/grubx64.efi +if [ "$rootGrub" != "" ]; then set detectado='si' - menuentry "rEFInd" { - root="$rootRefind" - chainloader /EFI/refind/shimx64.efi.signed + menuentry "Grub" { + root="$rootGrub" + chainloader /EFI/grub/Boot/grubx64.efi } fi diff --git a/server/tftpboot/grub/examples/grub b/server/tftpboot/grub/examples/grub deleted file mode 100644 index 5d42c4af..00000000 --- a/server/tftpboot/grub/examples/grub +++ /dev/null @@ -1,4 +0,0 @@ -##NO-TOCAR-ESTA-LINEA grub -search --file --set root /EFI/grub/Boot/grubx64.efi -chainloader /EFI/grub/Boot/grubx64.efi -boot diff --git a/server/tftpboot/grub/examples/refind b/server/tftpboot/grub/examples/refind new file mode 100644 index 00000000..77e40c7a --- /dev/null +++ b/server/tftpboot/grub/examples/refind @@ -0,0 +1,4 @@ +##NO-TOCAR-ESTA-LINEA refind +search --file --set root /EFI/refind/shimx64.efi.signed +chainloader /EFI/refind/shimx64.efi.signed +boot diff --git a/server/tftpboot/grub/templates/10 b/server/tftpboot/grub/templates/10 index 9ed11639..22e57bfe 100644 --- a/server/tftpboot/grub/templates/10 +++ b/server/tftpboot/grub/templates/10 @@ -1,4 +1,4 @@ ##NO-TOCAR-ESTA-LINEA 1hd -search --file --set root /EFI/refind/shimx64.efi.signed -chainloader /EFI/refind/shimx64.efi.signed +search --file --set root /EFI/grub/Boot/grubx64.efi +chainloader /EFI/grub/Boot/grubx64.efi boot |