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

Windows 10x64 does not boot after restore (sporadically)

Scheduled Pinned Locked Moved Solved
FOG Problems
3
10
1.4k
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.
  • A
    abulhol
    last edited by Mar 31, 2020, 10:21 AM

    We have an Intel NUC that runs Windows 10x64 version 1809.
    We use FOG version 1.5.8 to manage it.
    We use UEFI boot.
    The machine is restored several times per day.
    Occasionally, booting the machine fails. We have investigated this issue and found out the following:

    1. The deploy job finishes normally, the machine then reboots
    2. The FOG boot screen shows up
    3. Afterwards, the “Intel NUC” screen appear, i.e. a black screen with “Intel NUC” in white letters. Normally, the Windows 10 “spinning wheel” is displayed below the text, and after a few seconds, the Windows login screen appears. However, in the cases of failure, nothing happens, and the Intel NUC screen stays there indefinitely.
      (I cannot upload the screenshots I have because of a bug in the Forum page)

    We are wondering whether there is some hardware defect, because we have no clue why this is happening.
    Has anybody seen this issue before?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Mar 31, 2020, 2:12 PM

      I guess with the NUCs I would recommend, make sure the bios (firmware) is up to date.

      So when these systems do this, is the only way to fix them is reimage them?

      When these systems do this does the disk show up as a bootable device in the firmware? If the firmware doesn’t see the proper boot file on the first disk partition it won’t boot.

      Lastly if you have the nuc boot through the fog IPXE menu, and you have the NUC registered with FOG with the exit mode of refind, does refind find the disk properly to boot? This test is to see if the disk structure is intact, just something is wrong with the efi boot partition.

      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
      • J
        JJ Fullmer Testers
        last edited by Mar 31, 2020, 5:39 PM

        When you say restored several times per day, do you mean you are re-imaging it several times a day? I’m curious about the use case on that.

        I have seen this happen on some integrated systems like NUC’s computer sticks, and soc based tablets that we’ve tested at my work. I think sadly it may just be a hardware issue and they just freeze up sometimes, and a reboot fixes, but that’s more of an acceptable answer if it’s a $100-200 computer with a SoC cpu (I use acceptable loosely there).

        I think that @george1421 is probably right that it’s going to be related to refind boot through fog, recently I’ve been finding it less reliable. I’m not sure if it’s something changed in the refind code, the iPxe code, or windows boot stuff. It would take quite a bit of digging to figure out which of those things have had changes that could have caused this. There are some ways to test if this is the problem.

        1. Try using legacy pxe boot if it’s supported (you can still image and boot to uefi as I recall)
        2. Try not having it boot to fog after the image is complete (i.e. set the boot options to harddrive/windows boot manager first, and use wake on lan to remote boot source or a manual boot option hotkey to get to the network boot)
        3. You can set up a local version of a bootmanager such as grub2forwin or refind and put a local copy of the ipxe.efi file on the machine so that you have a way to boot to fog without the download and boot to the ipxe.efi file to get to fog and then boot to windows.
        4. If supported, use the built in uefi shell (if you boot to a refind usb or locally installed refind it also has a uefi shell). Then use fs0: ls then fs1: ls incrementing the number till you find the microsoft EFI folder. Then you can launch the microsoft efi boot file from that shell at .\EFI\Microsoft\Boot\bootmgfw.efi (slashes might be the other way, I’m doing this from memory)

        Point is, try a different boot method and see if that makes any difference.

        Also check for any bios updates, or if supported maybe a bios rollback if it maybe worked better before?

        Also check bios options and try enabling/disabling things like fastboot (enabling it may disable some drivers that refind searches for, but that’s just my theory) and any other setting that might relate.

        Hope one of these suggestions help.

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        J 1 Reply Last reply Mar 31, 2020, 5:43 PM Reply Quote 0
        • J
          JJ Fullmer Testers @JJ Fullmer
          last edited by Mar 31, 2020, 5:43 PM

          I realize I gave a lot of possibilities there, but do try to only attempt one thing at a time.

          1. Start with bios updates/rollbacks
          2. Adjust bios fastboot and other settings, one at a time,
          3. Different boot option after fog imaging
            a. legacy pxe boot
            b. use wake on lan/manual network boot
            c. use a uefi shell to manually boot to windows after imaging
            d. create a local bootmanager

          Once one of these things works we’ll see if we can help you come up with a full solution

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          A 2 Replies Last reply Mar 31, 2020, 7:20 PM Reply Quote 0
          • A
            abulhol @JJ Fullmer
            last edited by Mar 31, 2020, 7:20 PM

            @JJ-Fullmer and @george1421 thank you so much for the immediate responses. I will follow your advice and see if I can fix it.
            Regarding the use case, this is for doing malware analysis on bare metal machines (resetting the machine after each analysis).

            G 1 Reply Last reply Mar 31, 2020, 7:25 PM Reply Quote 1
            • G
              george1421 Moderator @abulhol
              last edited by Mar 31, 2020, 7:25 PM

              @abulhol While this is a bit off point, I just rebuilt an intel NUC NUC5i5 with MDT. It built fine with MDT rebooting many times. I just ran sysprep powered it off and then back on and it sits at the NUC logo. I bounced through the bios setup exited and then it booted into the spinning marbles of Windows 10 setup.

              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!

              J 1 Reply Last reply Apr 13, 2020, 3:55 PM Reply Quote 0
              • A
                abulhol @JJ Fullmer
                last edited by Apr 7, 2020, 8:29 AM

                @JJ-Fullmer Just a short update on this issue: The NUC’s BIOS was outdated, and updating it failed for unknown reasons. We now replaced the NUC with a brand new one and hope to see the issue gone.

                J 1 Reply Last reply Apr 13, 2020, 3:55 PM Reply Quote 1
                • J
                  JJ Fullmer Testers @george1421
                  last edited by Apr 13, 2020, 3:55 PM

                  @george1421 I also have a theory that it could be sysprep related, but that’s harder to troubleshoot so I figured why not try the other things first.

                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                  https://github.com/darksidemilk/FogApi
                  https://fogapi.readthedocs.io/en/latest/
                  https://www.powershellgallery.com/packages/FogApi
                  https://forums.fogproject.org/topic/12026/powershell-api-module

                  1 Reply Last reply Reply Quote 0
                  • J
                    JJ Fullmer Testers @abulhol
                    last edited by Apr 13, 2020, 3:55 PM

                    @abulhol Any luck with the new Nuc?

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    1 Reply Last reply Reply Quote 0
                    • A
                      abulhol
                      last edited by May 11, 2020, 8:35 AM

                      Final update:
                      Replacing the hardware solved the issue.
                      So it was either a hardware defect, or a bug in the firmware.

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

                      144

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project