• Hey Forum,

    I would like to say thank you for the whole dev team. I love this installation mode for a PXE server. But since I’m very new to this topci, may I have some help please?
    I’ve installed Fog project on a new virtual machine. Set my own DHCP server up to serve it and now new clients are trying to boot from iPXE. Now I receive an error message saying nothing to boot: No such file or directory.


    I assume I have to download the ISO files I want to be available for PXE boots, but how can I add them to the server? In my example I wish to use

    • Windows 10
    • Fedora 25 - Workstation
    • CentOS 7 - Everything
    • openSUSE Leap 42.2
    • Ubuntu 16.04 LTS
    • and maybe a live system available.

    How do I set these up?

    Thanks in advance!


  • @Junkhacker said in Installed FOG, what now?:

    fog isn’t used for “installing” operating systems.

    I would highly recommend hashicorp’s Packer for that. They need to support fog. Maybe I can help make that happen.

  • Senior Developer

    @bertalanimre Just in case you still want to dig into this… Is your FOG server? Cause this is where iPXE thinks it can load the next piece via TFTP. Make sure TFTP service is running properly on this host and the requested file is available too…

  • Hey Sebastian and Junkhacker

    I’ve implemented the requested line and here are the results. (Not virtualbox, but KVM)


    Indeed, this is a custom config, because the DHCP server is actually a NethServer 7 (Out of the box CentOS 7 server) and it has it’s own configuration. I can add TFTP server IP addresses to it by default on it’s configuration page, but to edit it manually, is not recommended, but it woun’t crash it (unless, you write garbage in the configs).

    But as you’ve stated, since FOG is not for install ing OSs automaticaly, but install captured images, I think this is not the tool I need. Itt looks very simple and I have a friend who’ll need it. I’ll pass the project to him, but I’ll look for another easy way to set up PXE server. I’m very new to this whole idea, area, methid, or whatever, so I’m very confused about almost everything. 🙂

    Thank you for your help anyhow and good luck with the project for the future!

  • Senior Developer

    @bertalanimre As Junkhacker already said FOG is not a tool for installing operating systems automatically but for capturing an already installed system and deploying it to as many other PCs as you want.

    The iPXE booting we are seeing in the screenshot is NOT iPXE which is served by FOG but iPXE included in the virtualbox.

    Where did you get those dnsmasq config lines from? This is definitely not what we would advice as simple config for beginners! Having more than one network interface card in your FOG/dnsmasq server is definitely making it more error-prone…

    Maybe play with this sample to begin with: https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server

  • Developer

    @bertalanimre that doesn’t look correct. options 66 and 67 aren’t just things you have to enable, they’re configured. dnsmasq calls these options next-server and filename, i believe.
    try adding this line to your config


  • @Junkhacker Thank you for clearing this. This was most likely a misunderstanding with my English knowledbe because when you say image, at first I though about the downloadable Linux images. So what you say is that Fog is unable to install a linux iso file downloaded from the internet?

    To your question about DHCP: Yes, I’ve added it. Currently dnsmasq looks like this:


    Is this correct?

  • Developer

    @bertalanimre first off, i think you may have a misunderstanding of what fog is. fog isn’t used for “installing” operating systems. it’s for deploying pre-configured images of systems. you install your system to a computer, configure it the way you want, then capture it with fog. then you can deploy that image to other systems.

    with that out of the way, have you set your DHCP 66/67 options?