Most likely the kernel image is missing or corrupt. Please check using the following command: file /var/www/{html/,}fog/service/ipxe/bzImage
As well I may ask how your DHCP server is being setup? Did you say yes for FOG to install and setup DHCP for you on the FOG server or do you manage your own DHCP server in the network? Just asking because possibly this might be a 32/64bit issue as well.
@Warsonix Great you figured out how to switch to a different iPXE binary. You are welcome. Feel free to ask whatever issue you run into in a new topic.
As suggested I gradually brought the FOG server and the clients closer together until eventually they were on the same switch/subnet and I’m still encountering the error.
Good work! Although we have not found the root cause of this we did rule out a very important factor.
We’ve also done some more deployments and have found that the issue isn’t as limited to a specific hardware vendor as we initially thought. There have been some recent Dell laptops where we are starting to see this pop up.
So from what we know so far I would guess this is a driver issue in iPXE. Do all the devices showing this issue have the same or a similar network chip (same vendor)?
Try using a different iPXE binary. Which one do you currently use? Are the devices set to UEFI or legacy BIOS mode?
@cidy-long-0 You can setup FOG with firewall but really need to know what you are doing. E.g. kernel updates through the web UI and image capture can be a problem if you get the firewall rules wrong.
@hummela Not sure if spacing in names could cause this. I have not had much time lately and couldn’t find the time to look into this. But it’s on the list. Will get back to you.
@cidy-long-0 In general FOG can be used for what you are trying to do BUT it’s not made for this. Personally I think you are way better of getting this done with Clonezilla or other imaging tools instead of making all the effort to get FOG up an running in your network. FOG heavily relies on PXE booting in the standard setup and that might even be a hassle with some server hardware.
Both FOG and Clonezilla use the same base - partclone. So technically you don’t miss out when you stick to Clonezilla.
What specifically do you have configured on your dhcp server for dhcp options 66 and 67?
What device is your dhcp server for the network you want to pxe boot on? (Manufacturer and model)
@Tom-Elliott The /var/www/fog/management/other/ssl directory was reported in the error log for Apache2.
I think this discussion thread can be closed. I intend to document the steps needed to change the server IP without having to re-install and then post them to the forum.
I have this file in two directories, one that is updated and one that is not.
You seem to have a duplicated FOG docroot, one in /var/www/html/fog/ and another one in /var/www/fog/. In certain cases this happens - I think I have only seen this when the FOG installer runs for the first time but does not finish properly. Though I never had the time to look into this properly.
Now that you know the correct docroot path on your system I suggest you rename or move the wrong one. But instead create a symbolic link pointing to the correct one named just like the old wrong docroot directory.
I’ll check with our admins, but our environment is fairly rigid.
If you can’t run a second network, then there should be only two places outside of the web ui that you need to update.
a hidden file /opt/fog/.fogsettings and /tftpboot/default.ipxe
Inside the web ui FOG Configuration->FOG Settings and hit the expand all button. Search for the old IP address and replace it with the new. Press the save button in each section where you find the replaced IP address
Then in Storage Nodes -> Default storage node there is an ip address in there.
Once those three have been changed and then rebooted it should work on an isolated network. Its best to rerun the fog installer script but it should work without it as long as if you change the IP address in those locations.
We checked a bit more on some logs on the client, and turned out we enabled the FOG_LEGACY_FLAG_IN_GUI on the server, and we passed the image from “partimage” to “partclone Zstd” and problem solved.
Apparently with partimage the client wasn’t able to write on the disk (where it was perfectly fine on the other one)