diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-05-30 12:34:33 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2022-06-14 11:57:17 +0200 |
commit | 49bdbe9ad83d3c2f7710f81960b3407e882563ac (patch) | |
tree | 4f0453e5b50a7dd968077545a93c5652de2d4a55 /server/tftpboot/grub/templates/00unknown | |
parent | e63103505ee21ac47a99a16b4f3d2096f79549d7 (diff) |
#1075 Rename boot templates
Rename boot templates to improve readability and clarity.
Diffstat (limited to 'server/tftpboot/grub/templates/00unknown')
-rw-r--r-- | server/tftpboot/grub/templates/00unknown | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/server/tftpboot/grub/templates/00unknown b/server/tftpboot/grub/templates/00unknown deleted file mode 100644 index efd70778..00000000 --- a/server/tftpboot/grub/templates/00unknown +++ /dev/null @@ -1,77 +0,0 @@ -##NO-TOCAR-ESTA-LINEA Sin-designar -# -# Arranque por defecto en OpenGnsys -# Busca cargadores existentes por orden de prioridad y -# muestra menú con las opciones -# Si no existe ningún cargador de arranque muestra mensaje de error. -set timeout=30 - -set detectado='no' -# Compruebo si existen distintos cargadores. -echo "Searching Grub" -search --file --set rootGrub /EFI/grub/Boot/grubx64.efi -if [ "$rootGrub" != "" ]; then - set detectado='si' - menuentry "Grub" { - root="$rootGrub" - chainloader /EFI/grub/Boot/grubx64.efi -} -fi - -echo "Searching rEFInd" -search --file --set rootRefind /EFI/refind/shimx64.efi.signed -if [ "$rootRefind" != "" ]; then - menuentry "rEFInd" { - root="$rootRefind" - chainloader /EFI/refind/shimx64.efi.signed -} -fi - -echo "Searching Part-01-02" -search --file --set rootP2 /EFI/Part-01-02/Boot/ogloader.efi -if [ "$rootP2" != "" ]; then - set detectado='si' - menuentry "Part-01-02" { - root="$rootP2" - chainloader /EFI/Part-01-02/Boot/ogloader.efi - } -fi - -echo "Searching Part-01-03" -search --file --set rootP3 /EFI/Part-01-03/Boot/ogloader.efi -if [ "$rootP3" != "" ]; then - set detectado='si' - menuentry "Part-01-03" { - root="$rootP3" - chainloader /EFI/Part-01-03/Boot/ogloader.efi - } -fi - -echo "Searching Microsoft" -search --file --set rootMS /EFI/Microsoft/Boot/bootmgfw.efi -if [ "$rootMS" != "" ]; then - set detectado='si' - menuentry "Microsoft" { - root="$rootMS" - chainloader /EFI/Microsoft/Boot/bootmgfw.efi - } -fi - -echo "Searching Ubuntu" -search --file --set rootUb /EFI/ubuntu/grubx64.efi -if [ "$rootUb" != "" ]; then - set detectado='si' - menuentry "Ubuntu" - root="$rootUb" - chainloader /EFI/ubuntu/grubx64.efi - } -fi - - -# Si no hay ningún sistema operativo muestro mensaje. -if [ $detectado == 'no' ]; then - menuentry "OpenGnsys no ha detectado ningún sistema operativo" { - # para evitar mensajes de error. - set root="(hd0,gpt1)" - } -fi |