@AlkarimJ You would likely want to set the primary disk to /dev/sda
It looks, at least from the image you provided, that it may be the nvme0n1p1-5 you have on “successful” machines may be 1TB (or at least large enough) to contain the raw image, but on the new machines these drives are smaller than the expected.
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.