FOG iPXE USB Boot Stick
- 
 Hello, i am trying to build an USB Stick to boot into FOG. We have two FOG instances, one is the productive one ( 1.2.0 ) and the other is the testing one ( 1.3.1 RC ). Both servers have diffrent IPs and just the productive one has the next-server set in the DHCP. So the problem is i cann not reach the testing server. I thought i could make a stick with says " hey pc, please just go to this next-server and start from there" - so i will boot the USB Stick wich says where the FOG server is and not via DHCP I found this in the wiki: with is nearly what i need ( i think so ) - so i built this image and install it on an USB stick but i am unable to boot. I tried the last method with gPXE because i do not need UEFI. In my opinion the image- path could be the problem because gPXE can not find it ( No such file or directoy ) As far i know i have to boot to http://FOGIP/fog/service/ipxe/boot.php but like here with the chain “chain http://example.com/pxelinux.0” it is not working. Any ideas, or better options, where could be the problem? Thank you! 
- 
 i just found this but is it from 2015 - and with http://${nextserver}/fog/service/ipxe/boot.php?mac=${net0/mac} 
 i just get the same error " no such file or directory "
- 
 okay - i think i found a solution this script is working for me #!ipxe dhcp set next-server 134.155.131.215 set filename undionly.kpxe chain tftp://${next-server}/${filename}```
- 
 okay, not really solved - i tried it in another subnet without dhcp next-server and it worked. 
 in the same subnet where the dhcp next-server is set, there is an infinite loop of iPXE starting, but not booting into FOG
- 
 found this post from @cml and tried the image from there! https://forums.fogproject.org/topic/4782/help-usb-boot-fog/25 It works with 1.3.1 RC6! Thank you man! Can be closed here