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

New iPXE Entries Not Showing

Scheduled Pinned Locked Moved Solved
FOG Problems
5
27
2.1k
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.
  • Z
    Zer0Cool
    last edited by Zer0Cool Apr 24, 2018, 7:20 AM Apr 24, 2018, 1:19 PM

    Hello,

    FOG: 1.5.2

    I setup a new iPXE entry using the directions found here:
    https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

    I added an entry for CentOS 7 according to the directions.

    When I boot a workstation either BIOS or UEFI I see no entry for PXE booting CentOS. To clarify I do get the menu with memcheck, deploy image, etc.

    My entry shows in the Web GUI under Settings | iPXE Menu Item Settings and shows the contents I placed in it when I created it.

    Are there some services that need restarts after configuring the menu or am I missing something here?

    In the iPXE menu where should the entry appear?

    Thanks

    W 1 Reply Last reply Apr 24, 2018, 1:26 PM Reply Quote 0
    • Z
      Zer0Cool @Quazz
      last edited by Apr 24, 2018, 3:04 PM

      @quazz Ok wait a second, just noticed neither of my menus kept the description which I assume is the visible part i nthe menu, ie:

      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      item os.Centos7
      item test.menu
      

      My Centos7 and test entries have nothing to the right of them, which I assume comes from the description field…I did fill those in but now they are empty

      Q 1 Reply Last reply Apr 24, 2018, 3:05 PM Reply Quote 0
      • W
        Wayne Workman @Zer0Cool
        last edited by Apr 24, 2018, 1:26 PM

        @zer0cool The expected behavior is it starts working the moment you save a valid configuration. Check your apache error logs during the times when you try to network boot, there might be some errors in there that are related. Also, double check that you’ve created the new item correctly.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        Z 1 Reply Last reply Apr 24, 2018, 1:37 PM Reply Quote 0
        • Z
          Zer0Cool @Wayne Workman
          last edited by Zer0Cool Apr 24, 2018, 7:39 AM Apr 24, 2018, 1:37 PM

          @wayne-workman Upon booting PXE, where should the entry be displayed? Is it a sub menu to something else or should it be at the top level?

          Looks like my last apache error is from yesterday and was related to SELinux which has since been resolved

          1 Reply Last reply Reply Quote 0
          • Z
            Zer0Cool
            last edited by Apr 24, 2018, 1:46 PM

            Also in case it helps here are the parameters from my menu entry:

            kernel tftp://${fog-ip}/centos7/images/vmlinuz
            initrd tftp://${fog-ip}/centos7/images/initrd.img
            imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/centos7/LiveOS/squashfs.img ip=dhcp
            repo=nfs://${fog-ip}/images/centos7 splash quiet
            boot || goto MENU
            

            menu show with is All Hosts.

            tftp root is ip/images. All centos files are in ip/images/centos7

            Thanks

            W 2 Replies Last reply Apr 24, 2018, 1:50 PM Reply Quote 0
            • W
              Wayne Workman @Zer0Cool
              last edited by Wayne Workman Apr 24, 2018, 7:50 AM Apr 24, 2018, 1:50 PM

              @zer0cool Check permissions on the path /centos7/images There needs to be permissions for the whole path including centos7 and images individually. Although I don’t think this is causing your problem, it’s something else.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              Z 1 Reply Last reply Apr 24, 2018, 1:56 PM Reply Quote 1
              • W
                Wayne Workman @Zer0Cool
                last edited by Apr 24, 2018, 1:51 PM

                @zer0cool Read over this, it might help you: https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 1
                • Z
                  Zer0Cool @Wayne Workman
                  last edited by Apr 24, 2018, 1:56 PM

                  @wayne-workman So the ownership was off, so set it fog:root like everything else. Booted host and still no new menu entry. Permissions seem to be what they should be, I dont see any issues there

                  I get: local, memtest, full registration, quick reg, deploy image, join multicast and client system info.

                  Does the host need to be registered prior to seeing this menu entry?

                  W 1 Reply Last reply Apr 24, 2018, 1:58 PM Reply Quote 0
                  • W
                    Wayne Workman @Zer0Cool
                    last edited by Apr 24, 2018, 1:58 PM

                    @zer0cool said in New iPXE Entries Not Showing:

                    Does the host need to be registered prior to seeing this menu entry?

                    There should be a setting when editing the entry to allow it to be seen by registered only, non-registered only, or both.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    Z 1 Reply Last reply Apr 24, 2018, 2:00 PM Reply Quote 1
                    • Z
                      Zer0Cool @Wayne Workman
                      last edited by Apr 24, 2018, 2:00 PM

                      @wayne-workman Is that the “Menu Show With”? I have it set to all hosts, I would presume that includes non-registered but there is an entry specifically for not registered.

                      Also here is the snippet from boot.php:

                      :os.Centos7
                      kernel tftp://${fog-ip}/centos7/images/vmlinuz
                      initrd tftp://${fog-ip}/centos7/images/initrd.img
                      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/centos7/LiveOS/squashfs.img ip=dhcp
                      repo=nfs://${fog-ip}/images/centos7 splash quiet
                      boot || goto MENU
                      param sysuuid ${uuid}
                      

                      I dont see anything out of place with it

                      W 1 Reply Last reply Apr 24, 2018, 2:03 PM Reply Quote 0
                      • W
                        Wayne Workman @Zer0Cool
                        last edited by Apr 24, 2018, 2:03 PM

                        @zer0cool said in New iPXE Entries Not Showing:

                        Is that the “Menu Show With”?

                        That’s the one.

                        Let’s back up a moment and start troubleshooting this. We need to figure out where the problem is and where it isn’t. Are you trying to boot an un-registered host? If not, try it. Are you trying to boot a registered host? If not, try it. Also try to add other menu entries - exact copies of what others have used - don’t worry about setting up the files on the server, we just want to see if the menu will display a known-good item or not.

                        Also, do you have two FOG Servers by chance, and these hosts are booting to the other one you didn’t modify? Just a thought.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        Z 2 Replies Last reply Apr 24, 2018, 2:18 PM Reply Quote 1
                        • Z
                          Zer0Cool @Wayne Workman
                          last edited by Apr 24, 2018, 2:18 PM

                          @wayne-workman Ok heres the setup

                          Single fog server on its own subnet for staging. It acts as DHCP, etc.

                          I have a workstation on the same network that I am using to PXE boot and check things from acting as a host.

                          Currently its a clean slate, nothing registered.

                          The entry for CentOS is the only entry I have attempted creating in PXE.

                          I have so far tried changing the All hosts to Unregistered hosts in the “Menu Show With” and have also rebooted the server after creating the menu, neither changed anything.

                          The host boots, and shows the standard menu via BIOS or UEFI boot, with these options:
                          “local, memtest, full registration, quick reg, deploy image, join multicast and client system info.”

                          I will try and add another “dummy” entry to PXE and see if it displays. I will also try registering the host to see if that matters. Ill report back

                          1 Reply Last reply Reply Quote 0
                          • Z
                            Zer0Cool @Wayne Workman
                            last edited by Zer0Cool Apr 24, 2018, 8:32 AM Apr 24, 2018, 2:28 PM

                            @wayne-workman No change.

                            I created another menu entry, just gave it a name and set to all menus, no parameters. It also did not show up but is in the boot.php.

                            I then did a quick register on the host, it shows up as registered in the web gui, but doesnt have either menu entry as expected in the PXE boot.

                            Again to confirm here, are we expecting these entries to be at the top level right after boot, along with entries like memtest and deploy image or are they a sub menu to something?

                            W 1 Reply Last reply Apr 24, 2018, 2:45 PM Reply Quote 0
                            • W
                              Wayne Workman @Zer0Cool
                              last edited by Apr 24, 2018, 2:45 PM

                              @zer0cool There is an advanced menu item if I recall, best to try that too. At this point, I’m going to ask the @developers and @moderators to take a look at this because I’m stumped.

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              Z 1 Reply Last reply Apr 24, 2018, 2:55 PM Reply Quote 1
                              • G
                                george1421 Moderator
                                last edited by Apr 24, 2018, 2:52 PM

                                Can you post the entire boot.php output?

                                If I had to guess, when you created the menu entry you did not enter anything in the description field? If not that is your issue (it would show up in the complete ipxe boot menu as missing).

                                The web gui text label needs to be changed from description to menu title or something to make it a bit more obvious that its required.

                                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 1
                                • Z
                                  Zer0Cool @Wayne Workman
                                  last edited by Apr 24, 2018, 2:55 PM

                                  @wayne-workman said in New iPXE Entries Not Showing:

                                  @zer0cool There is an advanced menu item if I recall, best to try that too.

                                  In what capacity do you mean? I see some options in the Web GUI for advanced (enabling a login and the entry under menu item settings), but only the options I listed are available on the PXE booted host, no advanced option there.

                                  1 Reply Last reply Reply Quote 0
                                  • Q
                                    Quazz Moderator
                                    last edited by Apr 24, 2018, 2:56 PM

                                    In boot.php do you see your item listed under the :MENU: entry?

                                    Z 1 Reply Last reply Apr 24, 2018, 2:57 PM Reply Quote 1
                                    • Z
                                      Zer0Cool @Quazz
                                      last edited by Zer0Cool Apr 24, 2018, 9:01 AM Apr 24, 2018, 2:57 PM

                                      @quazz Yep noted here:

                                      @zer0cool said in New iPXE Entries Not Showing:

                                      @wayne-workman Is that the “Menu Show With”? I have it set to all hosts, I would presume that includes non-registered but there is an entry specifically for not registered.

                                      Also here is the snippet from boot.php:

                                      :os.Centos7
                                      kernel tftp://${fog-ip}/centos7/images/vmlinuz
                                      initrd tftp://${fog-ip}/centos7/images/initrd.img
                                      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/centos7/LiveOS/squashfs.img ip=dhcp
                                      repo=nfs://${fog-ip}/images/centos7 splash quiet
                                      boot || goto MENU
                                      param sysuuid ${uuid}
                                      

                                      I dont see anything out of place with it

                                      Sorry, think this is what you meant:

                                      :MENU
                                      menu
                                      colour --rgb 0xff0000 0 ||
                                      cpair --foreground 1 1 ||
                                      cpair --foreground 0 3 ||
                                      cpair --foreground 4 4 ||
                                      item --gap Host is NOT registered!
                                      item --gap -- -------------------------------------
                                      item fog.local Boot from hard disk
                                      item fog.memtest Run Memtest86+
                                      item fog.reginput Perform Full Host Registration and Inventory
                                      item fog.reg Quick Registration and Inventory
                                      item fog.deployimage Deploy Image
                                      item fog.multijoin Join Multicast Session
                                      item fog.sysinfo Client System Information (Compatibility)
                                      item os.Centos7
                                      item test.menu
                                      choose --default fog.local --timeout 120000 target && goto ${target}
                                      

                                      Looks like both the entries I created are listed there (os.Centos7 and test.menu)

                                      Q 1 Reply Last reply Apr 24, 2018, 2:59 PM Reply Quote 0
                                      • Q
                                        Quazz Moderator @Zer0Cool
                                        last edited by Quazz Apr 24, 2018, 8:59 AM Apr 24, 2018, 2:59 PM

                                        @zer0cool Not what I mean. In Boot.php there is a :MENU entry that will have a structure like so:

                                        :MENU
                                        menu
                                        colour --rgb 0xff0000 0 ||
                                        cpair --foreground 1 1 ||
                                        cpair --foreground 0 3 ||
                                        cpair --foreground 4 4 ||
                                        item --gap Host is NOT registered!
                                        item --gap -- -------------------------------------
                                        item fog.local Boot from hard disk
                                        item fog.memtest Run Memtest86+
                                        item fog.reginput Perform Full Host Registration and Inventory
                                        item fog.reg Quick Registration and Inventory
                                        item fog.deployimage Deploy Image
                                        item fog.multijoin Join Multicast Session
                                        item fog.sysinfo Client System Information (Compatibility)
                                        

                                        If your entry isn’t part of the :MENU then it will never show in PXE boot.

                                        Z 2 Replies Last reply Apr 24, 2018, 3:02 PM Reply Quote 1
                                        • Z
                                          Zer0Cool @Quazz
                                          last edited by Apr 24, 2018, 3:02 PM

                                          @quazz Just relized that, edited prior reply with it

                                          1 Reply Last reply Reply Quote 0
                                          • Z
                                            Zer0Cool @Quazz
                                            last edited by Apr 24, 2018, 3:04 PM

                                            @quazz Ok wait a second, just noticed neither of my menus kept the description which I assume is the visible part i nthe menu, ie:

                                            item fog.multijoin Join Multicast Session
                                            item fog.sysinfo Client System Information (Compatibility)
                                            item os.Centos7
                                            item test.menu
                                            

                                            My Centos7 and test entries have nothing to the right of them, which I assume comes from the description field…I did fill those in but now they are empty

                                            Q 1 Reply Last reply Apr 24, 2018, 3:05 PM Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            1 / 2
                                            • First post
                                              5/27
                                              Last post

                                            174

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project