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

    PXE boot issue

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    26
    6.9k
    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.
    • C
      cnbgeren @Wayne Workman
      last edited by

      it is very possible that my co-work could have changed it.

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

        @cnbgeren What do you have listed for dhcp options 66 {next-server] and 67 {bootfile}?

        It looks like the ipxe kernel is getting to the target computer, its just not taking the next step.

        It would be interesting to know if the IP address listed in /tftpboot/default.ipxe (on the fog server) is inline with the current IP address of your FOG server.

        Also it would be interested to know what the output of this browser request is:

        http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00

        Please paste the output page here.

        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!

        C 2 Replies Last reply Reply Quote 1
        • C
          cnbgeren @george1421
          last edited by

          sorry for sounding dumb but when I run /tftpboot/default.ipxe from the command line I get permission is denied, I,m I doing the command correctly? As far as my browser request I have nothing after the PHP

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

            @cnbgeren try cat /tftpboot/default.ipxe

            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/

            C 2 Replies Last reply Reply Quote 0
            • C
              cnbgeren @Wayne Workman
              last edited by

              imageserver@imageserver-HP-Compaq-Pro-4300-SFF-PC:~$ cat /tftpboot/default.ipxe
              #!ipxe
              cpuid --ext 29 && set arch x86_64 || set arch i386
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              :bootme
              chain http://192.168.1.4/fog/service/ipxe/boot.php##params

              imageserver@imageserver-HP-Compaq-Pro-4300-SFF-PC:~$

              1 Reply Last reply Reply Quote 0
              • C
                cnbgeren @Wayne Workman
                last edited by

                This post is deleted!
                C 1 Reply Last reply Reply Quote 0
                • C
                  cnbgeren @cnbgeren
                  last edited by

                  @cnbgeren said in PXE boot issue:

                  My DNS IP address looks to be different then what is shown in the boot file. Could that cause the error?

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

                    @cnbgeren not sure I understand. Is the IP address of your fog server 192.168.1.4?

                    If you are unsure you can use the “ip addr show” command.

                    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
                    • C
                      cnbgeren @george1421
                      last edited by

                      I’m not sure if this is what your looking for. Thanks again for helping a newbie out

                      #!ipxe
                      cpuid --ext 29 && set arch x86_64 || set arch i386
                      colour --rgb 0xff6600 2
                      cpair --foreground 7 --background 2 2
                      console --picture http://192.168.1.4/fog/service/ipxe/bg.png --left 100 --right 80
                      :MENU
                      menu
                      colour --rgb 0xff0000 0
                      cpair --foreground 0 3
                      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.sysinfo Client System Information (Compatibility)
                      choose --default fog.local --timeout 3000 target && goto ${target}
                      :fog.local
                      exit || goto MENU
                      :fog.memtest
                      kernel memdisk iso raw
                      initrd memtest.bin
                      boot || goto MENU
                      :fog.reginput
                      kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.5 keymap= web=192.168.1.4/fog/ consoleblank=0 loglevel=4 mode=manreg
                      imgfetch init_32.xz
                      boot || goto MENU
                      :fog.reg
                      kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.5 keymap= web=192.168.1.4/fog/ consoleblank=0 loglevel=4 mode=autoreg
                      imgfetch init_32.xz
                      boot || goto MENU
                      :fog.sysinfo
                      kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.5 keymap= web=192.168.1.4/fog/ consoleblank=0 loglevel=4 mode=sysinfo
                      imgfetch init_32.xz
                      boot || goto MENU
                      autoboot

                      Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @cnbgeren
                        last edited by

                        @cnbgeren But what is the server’s IP address? ip addr show

                        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/

                        C 1 Reply Last reply Reply Quote 0
                        • G
                          Gencade
                          last edited by

                          I just troubleshot this error. This is because of the DHCP service not having option 66 and option 67 configured. See this image.

                          0_1470108686368_upload-f7a42f5f-2878-4660-8044-9bfd0cffc409

                          The inside highlighted value for option 66 should be the static IP address that you are setting your FOG server on.

                          0_1470108746588_upload-0f6ed2a6-d385-4a9b-8c72-548de9e2944b

                          Option 67 should be (most commonly) undionly.kpxe

                          You can also make sure that the DHCP service is started on your server, and that TFTP is enabled on your windows machine(s).

                          I recommend following this guide, as it helped me tons. https://wiki.fogproject.org/wiki/index.php?title=FOG_on_an_Isolated_Network

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

                            @cnbgeren We have seen this happening with weird DHCP setups. Please make sure you have only one DHCP server answering within your subnet! As well you might want to try out FOG trunk as we are pretty close to a new release and many things have changed since version 1.2.0! See here on how to install trunk: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                            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 2
                            • C
                              cnbgeren @Wayne Workman
                              last edited by

                              192.168.1.4

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

                                The dns you see in the output of the file has nothing to do with the issue you’re seeing.

                                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
                                • Tom ElliottT
                                  Tom Elliott @cnbgeren
                                  last edited by

                                  @cnbgeren Please update to the latest. I suspect you’re seeing the old tftp/no-tftp issue. At least as far as I can tell.

                                  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

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    cnbgeren @Tom Elliott
                                    last edited by

                                    I just installed this version of fog software this weekend. would I still need to update?

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

                                      @cnbgeren said in PXE boot issue:

                                      I just installed this version of fog software this weekend. would I still need to update?

                                      If you are indeed on FOG 1.2.0 stable, that official release is over 2 years old. Most of us have been on the 1.2.0 (trunk) release for about 18 months. And now with FOG 1.3.0-rc5 out the developers are pushing hard to hit the 1.3.0 stable state.

                                      The development cycle of FOG 1.3.0 had be extended because of the new NVMe disks, ensuring solid support for Win10, gpt disks, and many (many) performance enhancements. Should you upgrade, YES. Just be aware there has been a few reports of having capture issues with the latest installer, this happens because the ftp linux user account gets out of sync with what the database states. No worries it can be easily fixed, I just wanted you to be aware that on the outside chance you might have an upgrade trouble. Again no worries, upgrade issues can be resolved pretty quickly.

                                      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!

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

                                        @cnbgeren said in PXE boot issue:

                                        I’m not sure if this is what your looking for. Thanks again for helping a newbie out

                                        OK, you boot.php output looks good. So that part is fine. I feel we need to focus on the tftp issue that Tom mentioned.

                                        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
                                        • C
                                          cnbgeren @george1421
                                          last edited by

                                          @george1421

                                          ok will do thanks for your input. Do you have instructions on how to upgrade?

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

                                            @cnbgeren This should get you going: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                                            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!

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

                                            230

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project