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

    Solved Chainloading failed

    Bug Reports
    6
    12
    2346
    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 Workman
      Wayne Workman last edited by Wayne Workman

      I’m on r7843 with Fedora 23,

      I have an Optiplex 760 in BIOS mode with one Sata HDD in it, with Ubuntu 16.04 just now imaged onto it (I had the image on hand), and it won’t exit to the HDD properly after network booting.

      The host is registered fully, but when visiting
      http://10.0.0.4/fog/service/ipxe/boot.php?mac=00:23:ae:ab:73:7c
      All I get is this:

      #!ipxe
      set fog-ip 10.0.0.4
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      

      So that’d be why chainloading is failing.

      I’ve looked at that URL with other registered host’s MAC in place, and I get the same thing.

      There doesn’t appear to be any Apache related errors.

      After removing the patch cable when the host reboots, Ubuntu 16.04 boots fine.

      After having updated the target host, and scheduling a capture, the above URL now produces the below, which looks appropriate.

      #!ipxe
      set fog-ip 10.0.0.4
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.0.0.4/fog/ consoleblank=0 rootfstype=ext4 rootfstype=ext4 mac=00:23:ae:ab:73:7c ftp=10.0.0.4 storage=10.0.0.4:/images/dev/ storageip=10.0.0.4 osid=50 irqpoll hostname=Opti760 chkdsk=0 img=Optiplex760Ubuntu1604 imgType=n imgPartitionType=all imgid=12 imgFormat= PIGZ_COMP=-6 hostearly=1 pct=5 ignorepg=1 type=up
      imgfetch init_32.xz
      boot
      

      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
      • falko
        falko Moderator last edited by

        @adukes40 all working well, thanks Tom

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

          @Tom-Elliott just updated Main and node. Chainloader seems to be working for registered and unregistered hosts now. Was able to register from remote location. Thanks.

          Hopefully Falko has the same results 🙂

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

            Confirmed, found and fixed for unregistered hosts.

            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

            adukes40 1 Reply Last reply Reply Quote 2
            • falko
              falko Moderator @adukes40 last edited by

              @adukes40

              after confirming it to be working below, we got the call to an IT suite (unregistered in FOG) and this room had the chainloading isse

              1 Reply Last reply Reply Quote 0
              • adukes40
                adukes40 last edited by

                Updated to 7845, chainloading seems to fail if host is not registered.

                I tried from a remote site using the location plugin. the host was manually entered. It worked. I was able to get in the boot menu, I did a host unregister. the host removed itself, then it would not pxe back to the boot menu. Complained about the chainloader. Manually added, worked again. I also tried this at the Main’s site using a VM. I network booted from the VM and being it was not manually registered, it gets the chainloader error. As soon as I manually add the host to FOG, it works perfectly.

                falko 1 Reply Last reply Reply Quote 0
                • falko
                  falko Moderator @Tom Elliott last edited by falko

                  @Tom-Elliott thanks, all working for me

                  1 Reply Last reply Reply Quote 0
                  • M
                    mp12 last edited by

                    Had the same problem.
                    Chainloading works fine r7845 (Ubuntu 14.04).

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

                      Should be fixed, thanks for reporting.

                      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

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

                        Ok, so I got Wayne wrong I suppose. Sounded like he had upgraded from r7843 to ??? after seeing the problem and fixed it. @falko Thanks for pointing me to read his post again. I am pretty sure @Tom-Elliott will fix this soon.

                        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
                        • falko
                          falko Moderator last edited by falko

                          @Sebastian-Roth I am also on r7843 (Debian 8), and recieving "chainloading failed, hit ‘s’ " during the pxe boot. however if I set a download task, it will correctly perform the task

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

                            @Wayne-Workman So your machines booting/chainloading again properly?

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

                            137
                            Online

                            10.4k
                            Users

                            16.4k
                            Topics

                            150.5k
                            Posts

                            Copyright © 2012-2023 FOG Project