live-cachyos.ipxe.j2 1001 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!ipxe
  2. # CachyOS Operating System
  3. # https://cachyos.org
  4. goto ${menu} ||
  5. :live_menu
  6. set os CachyOS
  7. menu ${os}
  8. set ipparam BOOTIF=${netX/mac} ip=dhcp net.ifnames=0
  9. item --gap ${os} Versions
  10. {% for key, value in endpoints.items() | sort %}
  11. {% if value.os == "cachyos" %}
  12. item {{ value.version }} ${space} ${os} {{ value.version }}
  13. {% endif %}
  14. {% endfor %}
  15. choose live_version || goto live_exit
  16. goto ${live_version}
  17. {% for key, value in endpoints.items() | sort %}
  18. {% if value.os == "cachyos" %}
  19. :{{ value.version }}
  20. set url ${live_endpoint}{{ value.path }}
  21. goto boot
  22. {% endif %}
  23. {% endfor %}
  24. :boot
  25. imgfree
  26. kernel ${url}vmlinuz ${ipparam} archiso_http_srv=${url} cow_spacesize=10G copytoram=auto module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes initrd=initrd.magic console=tty1 {{ kernel_params }}
  27. initrd ${url}initrd
  28. initrd ${url}archiso_pxe_http /hooks/archiso_pxe_http mode=755
  29. boot
  30. :live_exit
  31. clear menu
  32. exit 0