-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
startup.nsh
68 lines (57 loc) · 1.06 KB
/
startup.nsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@echo -off
mode 80 25
cls
if exist .\efi\boot\main.efi then
.\efi\boot\main.efi
goto END
endif
if exist fs0:\efi\boot\main.efi then
fs0:
echo Found bootloader on fs0:
efi\boot\main.efi
goto END
endif
if exist fs1:\efi\boot\main.efi then
fs1:
echo Found bootloader on fs1:
efi\boot\main.efi
goto END
endif
if exist fs2:\efi\boot\main.efi then
fs2:
echo Found bootloader on fs2:
efi\boot\main.efi
goto END
endif
if exist fs3:\efi\boot\main.efi then
fs3:
echo Found bootloader on fs3:
efi\boot\main.efi
goto END
endif
if exist fs4:\efi\boot\main.efi then
fs4:
echo Found bootloader on fs4:
efi\boot\main.efi
goto END
endif
if exist fs5:\efi\boot\main.efi then
fs5:
echo Found bootloader on fs5:
efi\boot\main.efi
goto END
endif
if exist fs6:\efi\boot\main.efi then
fs6:
echo Found bootloader on fs6:
efi\boot\main.efi
goto END
endif
if exist fs7:\efi\boot\main.efi then
fs7:
echo Found bootloader on fs7:
efi\boot\main.efi
goto END
endif
echo "Unable to find bootloader".
:END