summaryrefslogtreecommitdiffstats
path: root/server/tftpboot/grub/default
diff options
context:
space:
mode:
Diffstat (limited to 'server/tftpboot/grub/default')
-rw-r--r--server/tftpboot/grub/default36
1 files changed, 17 insertions, 19 deletions
diff --git a/server/tftpboot/grub/default b/server/tftpboot/grub/default
index f71ae553..85342b49 100644
--- a/server/tftpboot/grub/default
+++ b/server/tftpboot/grub/default
@@ -15,46 +15,44 @@ if [ "$root" != "" ]; then
set label="rEFInd"
set chain="chainloader /EFI/refind/grubx64.efi"
fi
-
+
if [ "$root" == "" ]; then
- echo "Searching Microsoft"
- search --file --set root /EFI/Microsoft/Boot/bootmgfw.efi
+ echo "Searching Part-01-02"
+ search --file --set root /EFI/Part-01-02/Boot/ogloader.efi
if [ "$root" != "" ]; then
- set label="Microsoft"
- set chain="chainloader /EFI/Microsoft/Boot/bootmgfw.efi"
+ set label="Part-01-02"
+ set chain="chainloader /EFI/Part-01-02/Boot/ogloader.efi"
fi
fi
if [ "$root" == "" ]; then
- echo "Searching Ubuntu"
- search --file --set root /EFI/ubuntu/grubx64.efi
+ echo "Searching Part-01-03"
+ search --file --set root /EFI/Part-01-03/Boot/ogloader.efi
if [ "$root" != "" ]; then
- set label="Ubuntu"
- set chain="chainloader /EFI/ubuntu/grubx64.efi"
+ set label="Part-01-03"
+ set chain="chainloader /EFI/Part-01-03/Boot/ogloader.efi"
fi
fi
if [ "$root" == "" ]; then
- echo "Searching Part-01-02"
- search --file --set root /EFI/Part-01-02/Boot/ogloader.efi
+ echo "Searching Microsoft"
+ search --file --set root /EFI/Microsoft/Boot/bootmgfw.efi
if [ "$root" != "" ]; then
- set label="Part-01-02"
- set chain="chainloader /EFI/Part-01-02/Boot/ogloader.efi"
+ set label="Microsoft"
+ set chain="chainloader /EFI/Microsoft/Boot/bootmgfw.efi"
fi
fi
if [ "$root" == "" ]; then
- echo "Searching Part-01-03"
- search --file --set root /EFI/Part-01-03/Boot/ogloader.efi
+ echo "Searching Ubuntu"
+ search --file --set root /EFI/ubuntu/grubx64.efi
if [ "$root" != "" ]; then
- set label="Part-01-03"
- set chain="chainloader /EFI/Part-01-03/Boot/ogloader.efi"
+ set label="Ubuntu"
+ set chain="chainloader /EFI/ubuntu/grubx64.efi"
fi
fi
-# Timeout
if [ "$root" != "" ]; then
- set timeout=5
set label="OpenGnsys ha detectado: $label"
else
# para evitar mensajes de error.