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

    IPXE boot to fog cloud server

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    27
    3.6k
    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.
    • Wayne WorkmanW
      Wayne Workman @ipxefoguser
      last edited by

      @ipxefoguser said in IPXE boot to fog cloud server:

      i got the boot screen but it kept looping

      Most likely this problem would go away if you set dhcp to point to the fog instance - which would cause the target system to use the IPXE binaries built & shipped with fog.

      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/

      I 1 Reply Last reply Reply Quote 0
      • I
        ipxefoguser @Wayne Workman
        last edited by

        @wayne-workman
        actually it went through fine now. The last issue i have is that it kernel panics once it boots but idk if thats a local hardware issue or part of the server. The key here was to know where to point to the fog php page

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @ipxefoguser I think I start understanding what you are trying to do here. You have FOG installed on a publicly accessible server (cloud server) and want to image clients through this. It’s not what FOG is made for but I think it can be used like this.

          You should be able to chainload the FOG iPXE script like this: chain tftp://54.162.252.75/default.ipxe (but I think the TFTP port is not open on your server as I just tried this and got a timeout)

          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

          I 1 Reply Last reply Reply Quote 1
          • S
            Sebastian Roth Moderator
            last edited by

            @ipxefoguser You might be able to modify this part of FOG by moving the default.ipxe script to the webserver directory. sudo cp /tftpboot/default.ipxe /var/www

            Then you should be able to access that file via HTTP: http://54.162.252.75/default.ipxe and also chainload to it: chain http://54.162.252.75/default.ipxe

            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
            • I
              ipxefoguser
              last edited by

              @wayne-workman said in IPXE boot to fog cloud server:

              https://wiki.fogproject.org/wiki/index.php?title=Modifying_existing_DHCP_server_to_work_with_FOG

              well now my issue again seem to be ipxe since i cant get it to get an ip no matter what i do but thats not FOG. Like I said i wanted to know the directory where files are stored on log and where the scripts are etc because those were not listed anywhere that was part of confusion

              1 Reply Last reply Reply Quote 0
              • I
                ipxefoguser @Sebastian Roth
                last edited by

                @sebastian-roth bingo and it has sorta worked but the issue is whatever kernel fog uses to do that system registration is just too old for this brand new machine and it misses the harddisk entirely. This has happened when installing locally as well. So idk what core system y’all use but we need to update it to the most recent

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @ipxefoguser You can update the kernel in the FOG web UI. Go to FOG Configuration -> Kernel Update

                  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
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    Documentation for kernel update:
                    https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update

                    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/

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      ipxefoguser @Wayne Workman
                      last edited by

                      @wayne-workman
                      I really appreciate all your help over the thread. Sadly this machine has a lot of issues in booting except for the latest linux. I only managed to get debian 10 pre release and gentoo to run. So FOG is probably gonna take a while. The issue is around it recognizing the internal harddrive otherwise it just skips over it on the boot screen and choses the usb drive. I looked around and it seems to be a linux kernel issue that got resolved only in october or so release

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @ipxefoguser
                        last edited by

                        @ipxefoguser Welcome. When I post stuff, it’s both for the OP (you) and for future readers too, hence all the documentation links.

                        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 0
                        • george1421G
                          george1421 Moderator @ipxefoguser
                          last edited by

                          @ipxefoguser said in IPXE boot to fog cloud server:

                          I made the ipxe usb drive boot from the ipxe site. Maybe there is a different version but i certainly didnt see anything else.

                          while I know there was some additional discussions in this thread that I haven’t got to just yet, but this is the problem. You need to use the FOG iPXE files from the fog server, your ipxe files are missing the fog configuration scripts that are embedded into the fog delivered ipxe files.

                          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!

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                          • Wayne WorkmanW
                            Wayne Workman @george1421
                            last edited by

                            @george1421 that’s what I told him too.

                            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 0
                            • 1
                            • 2
                            • 1 / 2
                            • First post
                              Last post

                            316

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project