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

Seeking insight on iPXE and Fog setup

Scheduled Pinned Locked Moved
General
3
13
3.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.
  • G
    george1421 Moderator @Thomas787
    last edited by Jul 20, 2017, 10:14 PM

    @Thomas787 If I understand correctly you can WOL that computer so that means you have it registered with FOG (??) Did you register it manually or was this system already registered?

    What model and mfg are you trying to pxe boot?

    Is that target computer configured in uefi or bios (legacy) mode. (you can see this in the firmware). If the system is uefi, did you disable secure boot?

    In the firmware, did you change the boot order so that pxe booting comes before hard drive booting?

    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
    • T
      Thomas787
      last edited by Jul 21, 2017, 12:48 AM

      George,

      I assumed the community here would ask as much. Tomorrow (if I end up going over to the site; most likely will) or soon I will be able to get these details to you. Yes, the host is registered with FOG. It was registered manually as this environment has not had a fog server before.

      Model & mfg: cannot tell until I am on site
      UEFI or BIOS: unsure, will report tomorrow morning (believe UEFI) but to be sure, how do I check this in firmware?

      I read the article on secure boot but it was time to leave for the day so I did not pursue it very far, I could not figure out how to turn it off in the time available today.

      Obviously with firmware (leading on from the last question) I did not change it since I do not know how to access it.

      I will provide a video and images tomorrow (if on that site) morning so you guys can see what the deal is.

      Thanks again, glad the community here is so proactive.

      G 1 Reply Last reply Jul 21, 2017, 9:47 AM Reply Quote 0
      • G
        george1421 Moderator @Thomas787
        last edited by Jul 21, 2017, 9:47 AM

        @Thomas787 said in Seeking insight on iPXE and Fog setup:

        Model & mfg: cannot tell until I am on site

        Getting this info is task 1. It will guide you with the other questions.

        UEFI or BIOS: unsure, will report tomorrow morning (believe UEFI) but to be sure, how do I check this in firmware?

        Many firmwares (use to be called bios) have a mode selector switch to change personalities between legacy (bios) mode and uefi for compatibility. This setting needs to be set before the OS is installed, switching it after the OS is installed will break the OS.

        I read the article on secure boot but it was time to leave for the day so I did not pursue it very far, I could not figure out how to turn it off in the time available today.

        Secure boot is a Microsoft thing, FOG or actually any other non MS OS can not boot with the uefi firmware setting secure boot enabled unless your OS is signed with a certain digital certificate.

        Obviously with firmware (leading on from the last question) I did not change it since I do not know how to access it.

        Knowing what computer it is will help.

        Also there are 2 types of pxe boot kernels for fog. One is for legacy (bios) systems, typ undionly.kpxe and one for uefi, typ ipxe.efi you must send the right boot kernel to the correct target computer that matches it firmware.

        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
        • T
          Thomas787 @george1421
          last edited by Jul 21, 2017, 11:43 AM

          @george1421 0_1500637413544_pxeboot.jpeg

          G 2 Replies Last reply Jul 21, 2017, 11:46 AM Reply Quote 0
          • G
            george1421 Moderator @Thomas787
            last edited by george1421 Jul 21, 2017, 5:49 AM Jul 21, 2017, 11:46 AM

            @Thomas787 Initial reaction is I think the version of ipxe kernel you are using is old [0600d]. Checking.

            [Edit: the build numbers just rolled over to 0000 not to long ago]

            OK from the screen shot I can see you have a bios (legacy system) and its a HP.

            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
            • T
              Thomas787 @george1421
              last edited by Jul 21, 2017, 11:49 AM

              @george1421 0_1500637705156_pxeloop1.jpg
              0_1500637716124_pxeloop2.jpg

              These are photos of the loop. I am getting an error while trying to upload a video of the loop here.

              1 Reply Last reply Reply Quote 0
              • G
                george1421 Moderator @Thomas787
                last edited by george1421 Jul 21, 2017, 5:51 AM Jul 21, 2017, 11:51 AM

                @Thomas787 I did just edit my previous thoughts.

                What I want you to do is place an unmanaged switch between this target computer and the building switch. This error makes me think that spanning tree is getting in your way. We’ll use a unmanaged switch to mask/test for this.

                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!

                T 1 Reply Last reply Jul 21, 2017, 11:52 AM Reply Quote 0
                • T
                  Thomas787 @george1421
                  last edited by Jul 21, 2017, 11:52 AM

                  @george1421 There is a Cisco switch and HP switch in the building. We did place an unmanaged switch between the wall port and the client machines yesterday and that cleaned up one error we were getting.

                  G 1 Reply Last reply Jul 21, 2017, 11:55 AM Reply Quote 0
                  • G
                    george1421 Moderator @Thomas787
                    last edited by george1421 Jul 21, 2017, 5:56 AM Jul 21, 2017, 11:55 AM

                    @Thomas787 OK “bing-bong”, what you need to do is enable/turn on one of the fast spanning tree protocols on your network. It should be enabled globally but if you want to enable on just ports where you want to image. You want fast-STP, RSTP, or what ever your switch mfg calls it.

                    You need to turn on optimistic forwarding (start forwarding then check for loopback) not pessimistic forwarding (check first then start forwarding). Pessimistic forwarding is the default for spanning tree. Once the link light comes on it will take 27 seconds for default spanning tree to start forwarding data. The fast methods will start forwarding data right away. FOG booting is so fast in that it gives up by the time the ports start forwarding data.

                    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!

                    T 1 Reply Last reply Jul 21, 2017, 12:14 PM Reply Quote 0
                    • T
                      Thomas787 @george1421
                      last edited by Jul 21, 2017, 12:14 PM

                      @george1421 Sounds good, Riley. We will update you when this is done.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Jul 21, 2017, 9:50 PM

                        The iPXE boot loop is kinda strange. I think I’ve never seen this! Why was default.ipxe missing in the first place. How did you get it back? Can you please post the content of that file here in the forum. You should find this text file in /tftpboot/default.ipxe on youf FOG server (192.169.250.100).

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                        157

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project