summaryrefslogtreecommitdiffstats
path: root/server/tftpboot/grub/templates/10
blob: b133f59bb175713ad3f24006f9e0e8cc4449abe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
##NO-TOCAR-ESTA-LINEA 1hd
set timeout=0

# Compruebo si existe rEFInd
set root=''
search --file --set root /EFI/refind/grubx64.efi
if [ "$root" == "" ]; then
    set label="rEFInd no está instalado" 
    set chain=""
else
    set label="rEFInd"
    set chain="chainloader /EFI/refind/grubx64.efi"
fi

menuentry "$label" {
    root='hd0,gpt1'
    eval "$chain"
    boot
}