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

Boot loop after imaging UEFI

Scheduled Pinned Locked Moved
General Problems
5
29
7.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.
  • W
    Wayne Workman @jemerson93
    last edited by May 16, 2018, 4:45 PM

    @jemerson93 It sounds like your DHCP is working correctly - your problem is with the exit modes. What exact models of systems are you having these problems on?

    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/

    J 2 Replies Last reply May 16, 2018, 4:47 PM Reply Quote 0
    • J
      jemerson93 @Wayne Workman
      last edited by May 16, 2018, 4:47 PM

      @wayne-workman Currently the issue is residing on Dell Latitude 5590s. Received a few new ones to deploy and all are experiencing this issue.

      1 Reply Last reply Reply Quote 0
      • J
        jemerson93 @Wayne Workman
        last edited by jemerson93 May 16, 2018, 12:46 PM May 16, 2018, 6:26 PM

        @wayne-workman Update: Also happening on Dell Latitude 7480s. Only support UEFI. Below is how this one was imaged

        UEFI Network Stack enabled
        Secure Boot disabled
        SATA changed to ACHI

        Stuck in REFIND loop. If exit type is changed, receiving a chainloading fail.

        Earlier I tested an old workstation set to Legacy and imaged fine. Still thinking it’s an issue with UEFI or my image.

        Currently I have 1 master image being used (split off into multiple smaller images). Sysprep it and upload to Fog. I don’t have separate images for Legacy/UEFI. Should I create a specific image a certain way for only UEFI machines?

        W 1 Reply Last reply May 16, 2018, 7:14 PM Reply Quote 0
        • W
          Wayne Workman @jemerson93
          last edited by May 16, 2018, 7:14 PM

          @jemerson93 said in Boot loop after imaging UEFI:

          I don’t have separate images for Legacy/UEFI. Should I create a specific image a certain way for only UEFI machines?

          You absolutely need an image for Legacy and an image for UEFI. One does not work on the other.
          Have you tried every exit type individually? Are you fully turning off the system between each try? A simple ctrl+alt+delete does not clear the firmware memory properly and will botch a retry of a different 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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          J 1 Reply Last reply May 16, 2018, 8:22 PM Reply Quote 0
          • J
            jemerson93 @Wayne Workman
            last edited by May 16, 2018, 8:22 PM

            @wayne-workman That could be a big issue though. I am creating my images via a VM. Anything specific I should look at for creating a UEFI based image?

            I did do CTRL ALT DELETE to test each exit so I can power off and go from there.

            W 1 Reply Last reply May 16, 2018, 9:16 PM Reply Quote 0
            • W
              Wayne Workman @jemerson93
              last edited by May 16, 2018, 9:16 PM

              @jemerson93 said in Boot loop after imaging UEFI:

              Anything specific I should look at for creating a UEFI based image?

              Not really, if FOG is capturing it successfully then you’re good to go for that part.

              @george1421 any ideas with the refind loop?

              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/

              J 1 Reply Last reply May 16, 2018, 11:14 PM Reply Quote 0
              • J
                jemerson93 @Wayne Workman
                last edited by May 16, 2018, 11:14 PM

                @wayne-workman As another update, I’ve tested all exit types and all have failed to boot.

                Exit gives me a chainloading fail
                The rest just keep doing the boot to hard drive in Fog

                I edited the /var/www/html/fog/service/ipxe/refind.conf to scanfor internal,external,hdbios,biosexternal and timeout to 0 per another forum post and still no luck.

                Again, even after imaging, BIOS shows both NIC boots but no other boot device (such as Windows Boot Manager) or a hard drive. Believe all laptops being affected are M2 SSD’s. Unsure if they are nvme.

                W 1 Reply Last reply May 16, 2018, 11:36 PM Reply Quote 0
                • W
                  Wayne Workman @jemerson93
                  last edited by May 16, 2018, 11:36 PM

                  @jemerson93 said in Boot loop after imaging UEFI:

                  Believe all laptops being affected are M2 SSD’s. Unsure if they are nvme.

                  Then it may be that there is something wrong with the imaging process - it may be that the exit types are working fine but the local disk simply isn’t bootable. Are there any errors during image capture or deploy?

                  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/

                  J 2 Replies Last reply May 16, 2018, 11:37 PM Reply Quote 0
                  • J
                    jemerson93 @Wayne Workman
                    last edited by May 16, 2018, 11:37 PM

                    @wayne-workman I do not notice any errors during capture or deploy.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jemerson93 @Wayne Workman
                      last edited by May 17, 2018, 2:04 AM

                      @wayne-workman curiosity question as I was doing some more research. My current image I’m testing is formatted as a MBR partition. I read that UEFI needs to be formatted as GPT to be bootable. I just created a VM (using Proxmox) as UEFI bios and converted it to GPT. Going to upload it to Fog in the am. Think that could deal with the REFIND loop?

                      T 1 Reply Last reply May 17, 2018, 3:32 AM Reply Quote 0
                      • T
                        Tom Elliott @jemerson93
                        last edited by May 17, 2018, 3:32 AM

                        @jemerson93 If the image was captured/deployed to a disk in MBR format, UEFI would indeed not find the drive as the disks MUST be in GPT format.

                        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

                        J 1 Reply Last reply May 17, 2018, 6:00 AM Reply Quote 0
                        • J
                          jemerson93 @Tom Elliott
                          last edited by May 17, 2018, 6:00 AM

                          @tom-elliott Thank you for the clarification. I will finish uploading the image in the morning and post an update.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jemerson93
                            last edited by May 17, 2018, 8:26 PM

                            @Wayne-Workman @Tom-Elliott

                            As an update, after creating a GPT partitioned image and uploading it to FOG, the image will successfully boot.

                            The only issue I have now is that I still receive the REFIND menu. It allows me to boot into the OS afterwards, but each time it boots (unless I disable network boot), it will go into the REFIND menu. Is there a way to either, edit the conf file to not display REFIND or to fix the issue with it not detected a CSM?

                            I have not tried other exit types after fixing the image so if this is how REFIND will be, I can re-attempt other exit methods.

                            On a side note, thank you to everyone for the assistance. I did not even realize that UEFI used GPT partitions to boot.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jemerson93
                              last edited by jemerson93 May 18, 2018, 11:39 AM May 18, 2018, 5:34 PM

                              @Tom-Elliott
                              After some more troubleshooting I am still stuck on trying to skip the REFIND screen. I will have some screenshots below. I’ve attempted to remove all scanfor BIOS options from refind.conf with no luck. If I enter any key, I can boot to the OS. I’m trying to find how to remove this scan as I’m trying to make the UEFI imaging as automated as the BIOS imaging. Images below…

                              After imaging
                              0_1526665135492_FOG 1.PNG

                              After inputting any key
                              0_1526665150093_FOG2.PNG

                              1 Reply Last reply Reply Quote 0
                              • J
                                jemerson93
                                last edited by May 18, 2018, 5:39 PM

                                Trying to remove the need to hit any key to continue. I know this is technically a different issue now, if I need to open a new post, I understand.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by May 19, 2018, 5:00 AM

                                  @jemerson93 Have you played with rEFInd’s timeout option yet?

                                  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

                                  J 1 Reply Last reply May 21, 2018, 6:47 PM Reply Quote 0
                                  • J
                                    jemerson93 @Sebastian Roth
                                    last edited by May 21, 2018, 6:47 PM

                                    @sebastian-roth Yes, I did.

                                    As another update, I spent this weekend editing rEFInd’s timeout, scanfor, and a few other settings I found browsing the forums and this morning I have successfully imaged 2 computers with my new UEFI image and did not receive rEFInd pop up at all. After it completed imaging, it booted straight into the OS.

                                    Safe to say this has been solved. Thank you to everyone for the assistance. It is greatly appreciated!

                                    Q 1 Reply Last reply May 21, 2018, 10:27 PM Reply Quote 0
                                    • Q
                                      quinniedid @jemerson93
                                      last edited by May 21, 2018, 10:27 PM

                                      @jemerson93 Would you please provide what you did to resolve this issue?

                                      J 1 Reply Last reply May 22, 2018, 12:36 AM Reply Quote 0
                                      • J
                                        jemerson93 @quinniedid
                                        last edited by jemerson93 May 21, 2018, 6:36 PM May 22, 2018, 12:36 AM

                                        @quinniedid Sure!

                                        Base steps were I created a new image in GPT format.

                                        Afterwards, on the FOG server itself I edited the config file located at /var/www/fog/service/ipxe/refind.conf

                                        Below are what I have the values at. This was after some troubleshooting so some may be back to their default values.

                                        timeout -1
                                        scanfor internal,external (I also have both lines commented out at the moment)
                                        uefi_deep_legacy_scan is uncommented
                                        scan_delay 5

                                        From my memory that is all that is changed. After the imaging is completed in UEFI, it will boot straight to the OS instead of pushing itself through FOG and/or rEFInd.

                                        Hope this works for you!

                                        1 Reply Last reply Reply Quote 1
                                        • 1
                                        • 2
                                        • 1 / 2
                                        1 / 2
                                        • First post
                                          20/29
                                          Last post

                                        180

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project