-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmenu.ipxe
43 lines (35 loc) · 973 Bytes
/
menu.ipxe
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
#!ipxe
set fedora http://dl.fedoraproject.org/pub/fedora/linux/releases/27/Workstation/x86_64/os
set demo http://boot.ipxe.org/demo
:menu
menu shim transparent loader demo
item minimal Fedora kernel and minimal initrd
item fedora Fedora Workstation installer
item shell_secboot UEFI shell (signed with Secure Boot CA key)
item shell_vendor UEFI shell (signed with Vendor CA key)
item shell iPXE internal shell
item exit Exit
choose option && goto ${option}
:minimal
kernel ${fedora}/images/pxeboot/vmlinuz initrd=initrd.img bootfile=${demo}
initrd ${demo}/initrd.img
boot
:fedora
kernel ${fedora}/images/pxeboot/vmlinuz initrd=initrd.img repo=${fedora}
initrd ${fedora}/images/pxeboot/initrd.img
boot
:shell_secboot
chain Shell.secboot.efi ||
imgfree
prompt Press any key to return to menu
goto menu
:shell_vendor
chain Shell.vendor.efi ||
imgfree
prompt Press any key to return to menu
goto menu
:shell
shell ||
goto menu
:exit
exit