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

    UEFI chainloading error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    18
    5.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.
    • G
      gwhitfield @Sebastian Roth
      last edited by gwhitfield

      @Sebastian-Roth @Wayne-Workman I have noticed that using REFIND_EFI almost works, but I’m presented with a prompt to “Hit any key to continue”, at which point if I press the anykey 🙂 my system boots properly. I have tried editing the refind.conf file to include “also_scan_dirs” to include \EFI\Microsoft\Boot where the boot loader resides but can’t seem to bypass the prompt to press a key. In boot.php I see:

      :fog.local
      imgfetch ${boot-url}/service/ipxe/refind.conf
      chain -ar ${boot-url}/service/ipxe/refind.efi || goto MENU
      

      I don’t suppose the prompt is can be bypassed by something in the boot.php script?

      EDIT: I tried earlier to mention that my upload image task works fine, it’s just when rebooting afterwards, or when there’s no task waiting that the boot appears to fail. Now I’m not so sure it’s even a FOG problem, but rather refind.efi that’s not quite doing what we’re hoping. I see in the documentation that is doesn’t recursively scan the possible boot folders, maybe it’s just not getting to the boot loader.

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

        @gwhitfield What kind of machine are we actually talking about here?

        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

        G 1 Reply Last reply Reply Quote 0
        • G
          gwhitfield @Sebastian Roth
          last edited by

          @Sebastian-Roth VMWare 5.5 workstation

          G 1 Reply Last reply Reply Quote 0
          • G
            gwhitfield @gwhitfield
            last edited by

            Update: It seems that maybe it’s just the VMWare having issues with refind.efi since both laptops I’ve tried (Dell E5550 and E5570) have booted right through to the OS if no task is waiting. It’s not a guarantee but it sure looks better. I’d say all in all, this is solved since it was really just originally a typo in default.ipxe and the remaining issue with VMWare seems to be inside refind.efi.

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

              @gwhitfield How did this type end up being in the default.ipxe. Was it you or the installer script doing something wrong?

              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

              Tom ElliottT G 2 Replies Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Sebastian Roth
                last edited by

                @Sebastian-Roth I’ll side on the err that the installer wasn’t adding a slash. I’ve added a line to check the codebase for this.

                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
                • G
                  gwhitfield @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Well, I updated my FOG server to make sure I had the most recent UEFI boot files and started getting chainloading failures. Took me a while of poking around (I’m no programmer) but eventually figured out the /fog/ was missing. That’s why I said I thought maybe an error had crept into the file on SF.net.

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

                    @gwhitfield Could you please update again and see if everything is fine.

                    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
                    • AlbertusA
                      Albertus
                      last edited by

                      Good Day

                      How do i fix the refind.conf press any key error?
                      Did i miss something?

                      Thank You

                      Albertus Geyser

                      01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                      That's me in a nutshell!!

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        gwhitfield @Albertus
                        last edited by

                        @Albertus I haven’t actually figured that one out yet. I posted to https://sourceforge.net/p/refind/discussion/general/ under "How to bypass “Hit any key to continue”? and have received no response. I’m working on other projects so haven’t been able to follow up but hope to soon. Sorry!

                        1 Reply Last reply Reply Quote 0
                        • sudburrS
                          sudburr
                          last edited by

                          I’m now in this situation as well. I need to stop rEFInd from stopping.

                          … To answer my own question, I have added the following to my fog configuration:

                          echo "Change UEFI rEFInd default action to remove user prompt"
                          sed -i.bak "s|scanfor internal,hdbios,external,biosexternal''|scanfor internal|g" /var/www/html/fog/service/ipxe/refind.conf
                          
                          

                          [ Standing in between extinction in the cold and explosive radiating growth ]

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

                            @sudburr https://github.com/FOGProject/fogproject/commit/ffdcf326766538d9aed4f878e4962f5e26cfb872

                            Would this make sense? Can you try this to see if it helps?

                            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
                              last edited by

                              I suspect the reasoning it “hangs” waiting for input unless only one option is defined is the timeout -1.

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

                              153

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project