live-manjaro.ipxe.j2 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. menu Manjaro Live - Current Arch [ ${arch} ]
  5. item --gap Currently during boot you need to press ctrl+d/ctrl+c
  6. item --gap repeatedly when init hangs on starting a download
  7. iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
  8. item --gap Manjaro Live
  9. {% for key, value in endpoints.items() | sort %}
  10. {% if value.os == "manjaro" and 'squash' in key %}
  11. item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
  12. {% endif %}
  13. {% endfor %}
  14. choose menu || goto live_exit
  15. echo ${cls}
  16. goto ${menu} ||
  17. iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu
  18. {% for key, value in endpoints.items() | sort %}
  19. {% if value.os == "manjaro" and 'squash' in key %}
  20. {% set kernel_name = value.kernel %}
  21. :{{ key }}
  22. imgfree
  23. set fetch_url ${live_endpoint}{{ value.path }}
  24. {% for key, value in endpoints.items() | sort %}
  25. {% if key == kernel_name %}
  26. kernel ${live_endpoint}{{ value.path }}vmlinuz misobasedir=manjaro ip=dhcp miso_http_srv=${fetch_url} nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 driver=free tz=UTC lang=en_US keytable=us systemdshow_status=1 apparmor=1 security=apparmor
  27. initrd ${live_endpoint}{{ value.path }}initrd
  28. boot
  29. {% endif %}
  30. {% endfor %}
  31. {% endif %}
  32. {% endfor %}
  33. :change_menu
  34. chain ${menu}.ipxe || goto error
  35. goto live_menu
  36. :live_exit
  37. clear menu
  38. exit 0