ostapvoip

menu.ipxe

Jan 5th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. #!ipxe
  2. # by dialmak
  3.  
  4. set target bootitbm
  5.  
  6. :start-menu
  7. menu dialmak's BOOT MENU
  8. item --gap Terabyte:
  9. iseq ${platform} efi || item bootitbm ${space} BootIt Bare Metal 1.35
  10. iseq ${platform} efi && item iflguiefi ${space} Image for Linux 3.05 (GUI)
  11. iseq ${platform} efi || item iflgui ${space} Image for Linux 3.05 (GUI)
  12. item iflcui ${space} Image for Linux 3.05 (CUI)
  13. item tbwinre ${space} TBWinRE7 x64 3.04
  14. item --gap Windows PE by Xemom1:
  15. iseq ${platform} efi || item pe7x86mini ${space} WinPE7 x86 mini
  16. iseq ${platform} efi || item pe8x86mini ${space} WinPE8 x86 mini
  17. item pe8x64mini ${space} WinPE8 x64 mini
  18. iseq ${platform} efi || item pe10x86mini ${space} WinPE10 x86 mini
  19. item --gap Install:
  20. item ubuntu64 ${space} Ubuntu x64
  21. item --gap Tools and Diagnostics:
  22. iseq ${platform} efi || item hddarts ${space} HDD Tools and Diagnostics
  23. iseq ${platform} efi || item hdt ${space} Hardware Detection Tool 0.5.2
  24. iseq ${platform} efi || item memtest ${space} MemTest86 4.3.7
  25. iseq ${platform} efi || item memtest5 ${space} MemTest86+ 5.01
  26. item shell ${space} iPXE shell
  27. choose --default ${target} target && goto ${target}
  28. goto start-menu
  29.  
  30.  
  31. :iflguiefi
  32. kernel ifl/vmlinuz uefimode=yes
  33. initrd --name initrmfs ifl/initrmfs || read void
  34. boot || read void
  35. goto start-menu
  36.  
  37. :iflgui
  38. initrd img/iflnet_gui.iso || goto failed
  39. kernel memdisk iso raw || goto failed
  40. boot || goto failed
  41. goto start-menu
  42.  
  43. :iflcui
  44. initrd img/iflnet_cui.iso || goto failed
  45. kernel memdisk iso raw || goto failed
  46. boot || goto failed
  47. goto start-menu
  48.  
  49. :ubuntu64
  50. kernel http://archive.ubuntu.com/ubuntu/dists/yakkety/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux || goto failed
  51. initrd http://archive.ubuntu.com/ubuntu/dists/yakkety/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz || goto failed
  52. boot || goto failed
  53.  
  54. :hddarts
  55. initrd img/HDDaRTs.img || goto failed
  56. kernel memdisk raw || goto failed
  57. boot || goto failed
  58. goto start-menu
  59.  
  60. :hdt
  61. initrd img/hdt-0.5.2.img || goto failed
  62. kernel memdisk raw || goto failed
  63. boot || goto failed
  64. goto start-menu
  65.  
  66. :bootitbm
  67. initrd img/bootitbm.flp || goto failed
  68. kernel memdisk raw || goto failed
  69. boot || goto failed
  70. goto start-menu
  71.  
  72. :memtest
  73. chain img/memtest || goto failed
  74. goto start-menu
  75.  
  76. :memtest5
  77. chain img/memtest5 || goto failed
  78. goto start-menu
  79.  
  80. :tbwinre
  81. kernel wimboot pause || goto failed
  82. initrd --name BCD bcd BCD || goto failed
  83. initrd --name boot.sdi boot.sdi boot.sdi || goto failed
  84. initrd --name boot.wim img/TBWinRE7x64.wim boot.wim || goto failed
  85. boot || goto failed
  86. goto start-menu
  87.  
  88.  
  89. :pe7x86mini
  90. kernel wimboot || goto failed
  91. initrd bootmgr bootmgr || goto failed
  92. initrd bcd bcd || goto failed
  93. initrd boot.sdi boot.sdi || goto failed
  94. initrd img/PE7x86mini.wim boot.wim || goto failed
  95. boot || goto failed
  96. goto start-menu
  97.  
  98. :pe8x86mini
  99. kernel wimboot || goto failed
  100. initrd bootmgr bootmgr || goto failed
  101. initrd bcd bcd || goto failed
  102. initrd boot.sdi boot.sdi || goto failed
  103. initrd img/PE8x86mini.wim boot.wim || goto failed
  104. boot || goto failed
  105. goto start-menu
  106.  
  107. :pe8x64mini
  108. kernel wimboot pause || goto failed
  109. iseq ${platform} efi || initrd --name bootmgr bootmgr bootmgr || goto failed
  110. iseq ${platform} efi && initrd --name bootmgfw.efi bootmgfw.efi bootmgfw.efi || goto failed
  111. initrd --name BCD bcd BCD || goto failed
  112. initrd --name boot.sdi boot.sdi boot.sdi || goto failed
  113. initrd --name boot.wim img/PE8x64mini.wim boot.wim || goto failed
  114. boot || goto failed
  115. goto start-menu
  116.  
  117. :pe10x86mini
  118. kernel wimboot || goto failed
  119. initrd bootmgr bootmgr || goto failed
  120. initrd bcd bcd || goto failed
  121. initrd boot.sdi boot.sdi || goto failed
  122. initrd img/PE10x86mini.wim boot.wim || goto failed
  123. boot || goto failed
  124. goto start-menu
  125.  
  126. :failed
  127. echo
  128. prompt Booting failed, press any key to back to the menu ...
  129. goto start-menu
  130.  
  131. :shell
  132. echo Type "help" to get the list commands.
  133. echo Type "<command> --help" to detailed help for a command.
  134. echo Type "exit" to get the back to the menu.
  135. echo
  136. shell
  137. goto start-menu
Advertisement
Add Comment
Please, Sign In to add comment