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

    Ipxe Could not boot no such file or directory

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    15
    14.5k
    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.
    • A
      ArchFan
      last edited by

      Verify:
      DHCP options 66 and 67 are set to correct ip and filename
      filename should be undionly.kpxe
      ip should be the ip of the FOG server

      Make sure the firewall is disabled
      [CODE]
      sudo ufw disable
      [/CODE]

      Can you download the file from the FOG server to a client using TFTP?

      1 Reply Last reply Reply Quote 0
      • J
        Jeff Turley
        last edited by

        [quote=“ArchFan, post: 38728, member: 19266”]Verify:
        DHCP options 66 and 67 are set to correct ip and filename
        filename should be undionly.kpxe
        ip should be the ip of the FOG server

        Make sure the firewall is disabled
        [CODE]
        sudo ufw disable
        [/CODE]

        Can you download the file from the FOG server to a client using TFTP?[/quote]

        DHCP options are correct firewall is disabled

        Having trouble downloading the file. Not sure if it is the server or if I do not know how to use the tftp command.

        1 Reply Last reply Reply Quote 0
        • J
          Jeff Turley
          last edited by

          This gets more odd. I have a second fog server at a different location that is working correctly. If I configure things so that clients on this network connect to that fog server they get the same error. I have triple checked my dhcp options and the ip helper address on the switches. That is working because I get ipxe to boot it is tftp that is having the problem.

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            if you’re seeing ipxe load at all, tftp is working fine.
            does anything come up when you go to [url]http://ip-address/fog/service/ipxe/boot.php[/url] in a web browser?

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • J
              Jeff Turley
              last edited by

              Nothing comes up in a browser if I go to [URL=‘http://ip-address/fog/service/ipxe/boot.php’][COLOR=#737373]http://ip-address/fog/service/ipxe/boot.php[/COLOR][/URL]. however, if I remove fog form the path the pages loads in a web browser. so [URL=‘http://ip-address/fog/service/ipxe/boot.php’][COLOR=#737373]http://ip-address/service/ipxe/boot.php[/COLOR][/URL] works.

              1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                did the installer automatically put fog in the web root instead of in /fog, or is that something you changed?

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • J
                  Jeff Turley
                  last edited by

                  [quote=“Junkhacker, post: 38753, member: 21583”]did the installer automatically put fog in the web root instead of in /fog, or is that something you changed?[/quote]

                  The installer put it there it also created a symlink in the /var/www/html directory.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jeff Turley
                    last edited by

                    The symlink points to the fog direcotry

                    1 Reply Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer
                      last edited by

                      the symlink doesn’t appear to be working properly then. if it was, [url]http://ip-address/fog/service/ipxe/boot.php[/url] and [url]http://ip-address/service/ipxe/boot.php[/url] would have given you the same results

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jeff Turley
                        last edited by

                        Any idea why. I am comparing things with my other fog server and they look they same.

                        1 Reply Last reply Reply Quote 0
                        • JunkhackerJ
                          Junkhacker Developer
                          last edited by

                          i have no idea, sorry. what might work for you is to edit /tftpboot/default.ipxe to have the address without /fog and to make sure your fog settings (in the web gui) have the correct address as well. this will also require editing the config.ini of the fog client for any hosts you have the client on to have the corrected address as well. i can’t guarantee that is all that would need changed.
                          absent making all of those changes, the fog web environment needs to be accessible at [url]http://ip-address/fog/[/url] instead of just at [url]http://ip-address/[/url]

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jeff Turley
                            last edited by

                            Figured it out I modified the document root in the Apache config to point to /var/www/fog. Changed that back to /var/www/html and things started working. Thanks would not have figured it our with out your help.

                            1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer
                              last edited by

                              no problem

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jweeks
                                last edited by

                                I was having the same problem and didn’t read all the way to the bottom. I was looking at the files in /tftpboot and found that the default.ipxe file had a string containing http://ip-address/service/ipxe/boot.php#params or something similar. I inserted fog and it booted up.

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

                                159

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project