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

    Client system will not load pxe image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    22
    6.3k
    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.
    • george1421G
      george1421 Moderator @rbasart
      last edited by george1421

      @rbasart Lest first focus on the client.

      You have a new 3040. Is that computer in bios (legacy) mode or uefi mode? If you don’t know off the top of your head, check the firmware and see. If the computer had win10 on it from Dell then its probably in uefi mode.

      If its in uefi mode, you need to send ipxe.efi via dhcp and also ensure that secure boot is off.

      Also it would be handy to know if the hard drive is a sata ssd or a nvme (M.2) hard drive.

      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
      • R
        rbasart
        last edited by

        The PC is in legacy mode and the legacy option ROMs are enabled. Secure boot is disabled. The drive is in AHCI mode and is a 500GB mechanical SATA Toshiba mo01acf050. The UEFI is not enabled in the PXE boot network stack.

        george1421G 2 Replies Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @rbasart
          last edited by george1421

          @rbasart Ok since the system is in legacy (bios) mode you should have your dhcp option 67 {boot-file} set to undionly.kpxe (typically) and for dhcp option 66 {next-server} that should be set to the IP address of your fog server.

          I know you may have already done this, but lets be sure we are consistent. I do have the 7040s on my campus so I know that in legacy mode undionly.kpxe does work.

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

            @rbasart After you have verified the dhcp options, pxe boot into the FOG iPXE menu and select the FOG compatibility options (near the bottom of the iPXE menu) and test the network and disk.

            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!

            R 1 Reply Last reply Reply Quote 0
            • R
              rbasart
              last edited by

              @george1421 Yep undionly.kpxe and 10.1.1.26 is the IP address of that box.

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

                @rbasart I just sent you an IM. (little talk bubble on the forum tool tray at the top).

                IM should give us a quicker turn around for the Q&A session.

                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
                • R
                  rbasart @george1421
                  last edited by

                  @george1421 Choosing the Client System Information (Compatibility) option produces the same result. bzImage… OK and init.xz… OK

                  1 Reply Last reply Reply Quote 0
                  • R
                    rbasart
                    last edited by

                    Per a suggestion here, I updated to version 1.3.4 to see if that would solve the problem, but now I’m stuck with a whole new issue.

                    Database Schema Installer / Updater
                    Your database connection appears to be invalid. FOG is unable to communicate with the database. There are many reasons why this could be the case. Please check your credentials in /var/www/html/fog/lib/fog/config.class.php. Also confirm that the database is indeed running. If credentials are correct, and if the Database service is running, check to ensure your filesystem has enough space.

                    To top it off, when I try to restart mysql, it comes back as an unrecognized service.

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @rbasart
                      last edited by

                      @rbasart https://forums.fogproject.org/topic/9405/cannot-see-web-interface-i-have-apache-errors/13#
                      Please give this a shot. In particular the installation instructions.

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rbasart @Tom Elliott
                        last edited by

                        @Tom-Elliott Tom thanks for the pointer, but it’s still not flying. At the end of the install, where it’s updating the database it fails. Everything else is okay. I did do a “service mysqld status” command and it comes back running, but I still get the “Your database connection appears to be invalid.” page.

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kibade @rbasart
                          last edited by

                          @rbasart Can you check for me what you have under /opt/fog/.fogsettings

                          I’m most interested if your sql user fog password matches
                          snmysqluser=‘fog’
                          snmysqlpass=‘’

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            rbasart @kibade
                            last edited by

                            @kibade There is no .fogsettings there for me.

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              kibade @rbasart
                              last edited by

                              @rbasart The normal reason you don’t have this is the fog installed failed before it finished installing. .fogsettings is the last thing it does. Can you re-run ./install.sh and see if anything says “failed” please?

                              1 Reply Last reply Reply Quote 0
                              • R
                                rbasart
                                last edited by rbasart

                                So, thanks to Tom, we’re getting closer anyway. After a fresh install and a few tweaks, we are back to where this thread started but, it did work on a Lenovo laptop. Still not the Dell that I’m really shooting for.
                                0_1486131169483_PXE boot.jpg

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rbasart
                                  last edited by

                                  Another twist to the mystery. I tried to boot an HP EliteBook to Fog and got to the menu, but when I choose either the Full or the Quick, it starts to go, but then restarts the laptop. Any ideas?

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rbasart
                                    last edited by rbasart

                                    I just love coming to work at a company where the previous IT guy had his head firmly implanted in his sphincter!!! Because of his poor documentation or lack thereof in some cases, I had assigned the same IP as a switch on the network to the Linux box. I don’t know how Fog was working at all but it was getting by just enough to screw with a lot of people! Once I found out the duplicate IP situation and changed the IP of the switch, everything started working exactly as it should! Thanks to everyone for their help, especially Tom!

                                    Tom ElliottT 1 Reply Last reply Reply Quote 1
                                    • Tom ElliottT
                                      Tom Elliott @rbasart
                                      last edited by

                                      @rbasart Well, that certainly could do it I suppose.

                                      As far as it “partially” working, the switch IS the IP address, and FOG had “listeners” on that IP.

                                      As the switch received the data, the FOG Server would perk up as well.

                                      Glad you figured it out for sure there. Sorry I didn’t recognize this, but hey one more thing to “look” for.

                                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

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

                                      234

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project