diff options
author | Irina Gómez <irinagomez@us.es> | 2019-11-04 13:58:45 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-11-04 13:58:45 +0100 |
commit | a445889f0eb0200a01954039338fba7f20328ac4 (patch) | |
tree | 8cfd09daaa3cd5b7095db5f69a5f149d75d2b80a /server/tftpboot | |
parent | 082e812e186279d1739fd5d219b54efd64449329 (diff) |
#802 #888 On UEFI computers, OpenGnsys installs grub to boot from the hard drive. You can use the rEFInd template example for computers without SecureBoot.
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 |