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

HP EliteBook 840 G7 stuck at "rEFInd - Initializing..."

Scheduled Pinned Locked Moved
FOG Problems
6
26
6.7k
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.
  • T
    tech04
    last edited by tech04 Dec 7, 2020, 12:24 PM Dec 7, 2020, 6:19 PM

    We recently got in a batch of HP Elitebook 840 G7 laptops. I discovered these did not have BIOS, only UEFI.

    I configured:

    • Option 67 to ‘ipxe.efi’

    • Disabled secure boot

    Began imaging process and device appeared to reimage successfully and quickly, but upon reboot it got stuck on a “rEFInd - Initializing…” screen.

    Researched this on the forum. Tested adding alternate versions of ‘refind_x64.efi’ file manually to /var/www/html/fog/service/ipxe.

    Results:
    v12.0 - stuck at same screen
    v11.5 - stuck at the same screen
    v10.9 - loaded an ‘rEFInd - About’ screen, but the Main Menu had no option to boot to OS

    Current FOG Setup is running Version 1.5.9.

    How can I resolve this issue?

    T 1 Reply Last reply Dec 8, 2020, 12:50 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 7, 2020, 8:24 PM

      @tech04 While it’s not directly stuck at iPXE you still might try using a different binary like snponly.efi just to see if it makes a difference.

      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

      T F 2 Replies Last reply Dec 7, 2020, 9:06 PM Reply Quote 0
      • T
        tech04 @Sebastian Roth
        last edited by Dec 7, 2020, 9:06 PM

        @sebastian-roth I’m sorry, I am unsure what you mean. Are you saying to configure Option 67 with snponly.efi?

        G 1 Reply Last reply Dec 7, 2020, 9:28 PM Reply Quote 0
        • G
          george1421 Moderator @tech04
          last edited by Dec 7, 2020, 9:28 PM

          @tech04 said in HP EliteBook 840 G7 stuck at "rEFInd - Initializing...":

          Are you saying to configure Option 67 with snponly.efi

          yes

          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!

          T 1 Reply Last reply Dec 7, 2020, 9:42 PM Reply Quote 0
          • T
            tech04 @george1421
            last edited by Dec 7, 2020, 9:42 PM

            @george1421 Tried this, but received same result. Device imaged, but after rebooting brought up the ‘rEFInd - Initializing’ screen.

            G 1 Reply Last reply Dec 7, 2020, 10:35 PM Reply Quote 0
            • G
              george1421 Moderator @tech04
              last edited by Dec 7, 2020, 10:35 PM

              @tech04 When we have issues with refind we recommend to roll back to 0.11.0. I’m not sure its going to fix your issue but its worth a shot. Also make sure your firmware is up to date on the target computer.

              What is happening is refind is stalling out trying to boot on that hardware. This is an issue specifically between refind and the hardware.

              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
              • S
                Sebastian Roth Moderator
                last edited by Dec 8, 2020, 6:21 AM

                @george1421 As initially posted the OP already tried different versions but only the really old one worked.

                @tech04 Make sure your UEFI firmware is the latest available! Using that old version is one option you have. The other one is compiling rEFInd from source and adding debug statements to find out where exactly it stucks and talk to the developer. We can help you with that but it’s in your hand. We don’t have the hardware.

                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

                T 1 Reply Last reply Dec 9, 2020, 2:24 PM Reply Quote 0
                • T
                  Tom Elliott @tech04
                  last edited by Dec 8, 2020, 12:50 PM

                  @tech04

                  I’d recommend looking at the configuration file for refind and seeing if making changes within the file helps out even with newer refind versions.

                  I think this only because I believe “new” versions of refind add functionality that did not exist with the older versions.

                  https://forums.fogproject.org/topic/11146/refind-initializing-after-disable-secure-boot/8

                  This post kind of describes what things to look for.

                  Particularly of interest, I believe you would want to change scanfor line from:
                  scanfor netboot,internal to possibly scanfor netboot,hdbios,internal.

                  The next change will likely be the scan_delay option. It currently defaults to 0. I would recommend adding a 5 second delay here as this is likely what’s hanging the initialization. 0 means don’t wait for any time to start looking for boot devices. So while it’s initializing, it’s also expecting to find the drives (which may not be ready yet).

                  I would recommend setting the timeout from -1 to 5 as well just so you can ensure all is working. If it works with either (or or and) scan_delay and scanfor, then reset the timeout to -1 to automatically and immediately boot to the first found item.

                  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 1
                  • T
                    tech04
                    last edited by Dec 9, 2020, 1:59 PM

                    I spend most of my day yesterday on another matter. Back to work on this issue today.

                    @tom-elliott I made the suggested changes and ended up with this screen:
                    FOGImaging_rEFInd-Initializing.jpg

                    Hitting different keys did nothing. It remained stuck on this screen.

                    1 Reply Last reply Reply Quote 0
                    • T
                      tech04 @Sebastian Roth
                      last edited by Dec 9, 2020, 2:24 PM

                      @sebastian-roth I updated the firmware on the device, but am still getting the same screen as the previously-posted screenshot.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Dec 9, 2020, 3:55 PM

                        @tech04 You can look up all the available parameters for this scanfor option on the rEFInd website. Try different combinations and maybe even try the parameter manual and add so called “Manual Boot Stanzas” (see in the link posted).

                        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

                        T 1 Reply Last reply Dec 9, 2020, 9:58 PM Reply Quote 0
                        • T
                          tech04 @Sebastian Roth
                          last edited by Dec 9, 2020, 9:58 PM

                          @sebastian-roth It occurred to me that I was imaging with a golden image that had been created with a vm that used BIOS. I created a new vm using EFI and created a new base image. Reimaged with this image, but it still seemed to get hung up at a rEFInd screen. Later, I saw the OS did end up loading.

                          Tinkered around with this some as it still seems to get hung up at rEFInd. I edited the scanfor to manual and added a menu entry for Windows. Got this:
                          FOGImaging_rEFInd-BootingOS.jpg

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth Dec 9, 2020, 4:01 PM Dec 9, 2020, 10:01 PM

                            @tech04 said in HP EliteBook 840 G7 stuck at "rEFInd - Initializing...":

                            I edited the scanfor to manual and added a menu entry for Windows.

                            What does the menu entry look like exactly?

                            By the way, which version of rEFInd do you use now?

                            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

                            T 1 Reply Last reply Dec 10, 2020, 1:15 PM Reply Quote 0
                            • T
                              tech04 @Sebastian Roth
                              last edited by Dec 10, 2020, 1:15 PM

                              @sebastian-roth Here’s the menu entry. It’s a Windows 10 image - I just didn’t update the entry name.

                              6ce1a096-f01c-4268-aefa-be11bb32d905-image.png

                              Using rEFInd Version 0.11.4.

                              1 Reply Last reply Reply Quote 0
                              • T
                                tech04
                                last edited by tech04 Dec 10, 2020, 8:44 AM Dec 10, 2020, 2:43 PM

                                • Started today with rEFInd Version 0.11.04, scanfor set to manual, menuentry for Windows. LT would get to a rEFInd menu, but would fail to load Windows.
                                  Error: Not Found while loading bootmgfw.efi.

                                • Changed to rEFInd Version 0.12.0. LT got stuck at rEFInd - Initializing…

                                • Edited refind.conf to scanfor netboot, internal and disabled manual menu entry. LT got stuck at rEFInd - Initializing…

                                • Edited boot order of LT to boot to disk first and it loaded the OS.

                                There seems to be an issue going from pxe boot to hard disk. Once the network boot times out and tries to boot to the hard disk it encounters difficulty at the rEFInd stage.

                                T 1 Reply Last reply Dec 10, 2020, 2:50 PM Reply Quote 0
                                • T
                                  Tom Elliott @tech04
                                  last edited by Dec 10, 2020, 2:50 PM

                                  @tech04 Have you tried adjusting the scan_delay?

                                  It really feels like refind cannot find the drives. So if it’s set to 0 the and doesn’t find anything, how would it get past initializing?

                                  I could be wrong of course. I’m not seeing all the differences.

                                  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

                                  T 1 Reply Last reply Dec 10, 2020, 3:14 PM Reply Quote 0
                                  • T
                                    tech04 @Tom Elliott
                                    last edited by Dec 10, 2020, 3:14 PM

                                    @tom-elliott Yes, I have the scan_delay set to 5. Timeout is also set to 5.

                                    T 1 Reply Last reply Dec 10, 2020, 3:33 PM Reply Quote 0
                                    • T
                                      Tom Elliott @tech04
                                      last edited by Dec 10, 2020, 3:33 PM

                                      @tech04 Okay,

                                      So there’s 2 main efforts for EFI booting that you could attempt:

                                      1. rEFInd - which isn’t working. Maybe you can try v10.9, not sure if you tried all three versions?
                                      2. Try setting the machine’s Host exit type to Exit? Specifically the EFI exit type?

                                      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

                                      T 1 Reply Last reply Dec 10, 2020, 5:02 PM Reply Quote 0
                                      • T
                                        tech04 @Tom Elliott
                                        last edited by tech04 Dec 10, 2020, 11:16 AM Dec 10, 2020, 5:02 PM

                                        @tom-elliott Some further testing:

                                        • Changed to rEFInd Version 10.9. The rEFInd - Initializing screen came up, but then said Scanning for boot loaders; please wait… LT stayed at this screen.

                                        • Changed Host EFI Exit Type for this host to EXIT. Got message
                                          Chainloading failed, hit ‘s’ for the iPXE shell; reboot in 10 seconds.
                                          Device would reboot, then do it all over again.

                                        • Changed to rEFInd Version 11.0. Still got the ‘Chainloading…’ message.

                                        • Turned off EXIT for the host. The rEFInd - Initializing screen came up and went to a ‘Scanning for boot loaders; please wait…’ message. It stayed there.

                                        rEFInd just does not want to load Windows for some reason. I saw this thread which referenced a comment on Reddit that non-signed kernels have trouble chainloading to a signed Windows kernel.

                                        Could this be the issue I am dealing with? If so, what can I do to resolve this?

                                        T 1 Reply Last reply Dec 10, 2020, 5:53 PM Reply Quote 0
                                        • T
                                          Tom Elliott @tech04
                                          last edited by Dec 10, 2020, 5:53 PM

                                          @tech04 If secure boot is disabled on the machine, maybe re-enable it now that imaging is done?

                                          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

                                          T 1 Reply Last reply Dec 10, 2020, 7:33 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            9/26
                                            Last post

                                          160

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project