• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Not a Fog problem, but solution ?

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    4
    871
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Cire3C
      Cire3
      last edited by

      I’m thinking this shouldn’t be difficult issue to address. Some of the people here are off the charts smart. Before I go screwing up fog that has been amazing from the very first version (No joke as I have imaged 1000’s of PC’s over the years)

      Ok, to the point. I have network boot from PFSense to fog as next server. And Fog set to boot to the menu, and if you do nothing after a few seconds… It boots to the local drive as normal. In case anyone boots to it by mistake, or for some crazy reason network is set to first boot device.

      I would also like to run a netboot.xyz server. What would I change, or where do I change boot to local drive… To boot to next pxe server ?

      I see some similar setups, but not exact how I would like it to act.

      As always, thanks in advance ! Fog has been a rock solid beast !

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Cire3
        last edited by

        @Cire3 In general what you ask is possible. It will take a little setup to complete, but possible.

        What you need to know

        1. FOG has the ability to create custom FOG iPXE menu items. You will want to create a fog ipxe menu to chain to your netboot.xyz server. So you will want to build this menu first and manually select the netboot server to confirm it works (more on that in a bit)
        2. If you want to manually select this menu item then you are done. If you want to default to this menu item instead of booting the local hard drive then go to the next step.
        3. You can change in the fog ipxe menu builder what menu item you want to execute if you don’t select a menu item. Just change the default menu item to your netboot.xyz iPXE menu.

        I have a tutorial on how to netboot installer disks so the concept of creating IPXE menu items. If you read over it you will see how to netboot alternate operating systems. https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

        Look at this post: https://forums.fogproject.org/topic/15984/integrate-fog-with-wds-mdt/11?_=1702084351302 if you need to chain to another boot loader than this will help. Specifically this section of the code.

        set next-server 0.0.0.0 # Replace with WDS server IP address
        ...
        set net0.dhcp/filename ${wds-bootfile}
        set proxydhcp/filename ${wds-bootfile}
        chain ${wds-bootfile} || goto Menu
        

        You see how to populate the dhcp next server and bootfile so that the chained bootloader will think it was pxe booted natively. The other thing this ipxe menu shows you how to dynamically change the bootloader based on bios or uefi.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • Cire3C
          Cire3
          last edited by

          You sir rock ! I’ll give it a read, thanks !

          Right after I win my battle of Carbon X1 Gen 7 just returns to boot menu after Downloading NBP file.

          These Carbons are the worst…

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Cire3
            last edited by

            @Cire3 said in Not a Fog problem, but solution ?:

            Carbon X1 Gen 7 just returns to boot menu after Downloading NBP file

            Check secure boot is off and if the proper boot loader is being sent to the target computer.

            You might use a witness computer on same subnet as the pxe booting computer. Use a capture mask of port 67 or port 68 or display filter of bootp Start the capture, pxe boot to error and then stop the capture. You will see the DORA process (discover, offer, request, ack/nack). Look at the offer packet this is coming from the dhcp server to the target computer. Look to see if both the ethernet header (bootp part) has next-server of IP address of fog server and boot-file as the proper boot loader name. Now confirm that dhcp options 66 and 67 are set properly. Its up to the pxe boot firmware vendor to decide to use bootp fields or dhcp option fields to locate the boot information. If you grab the pcap I can look at it for you if you get lost or not sure.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            154

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project