-
Notifications
You must be signed in to change notification settings - Fork 0
/
startup.nsh
68 lines (57 loc) · 1021 Bytes
/
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