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

Because? and who? change Sequence boot UEFI?

Scheduled Pinned Locked Moved Solved
Windows Problems
4
6
950
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
    Gilberto Ferraz
    last edited by Dec 3, 2019, 11:51 AM

    Hi, I’m using fog to manage more than 100 machines in my company, the machines have different hardware.

    I use Centos 7.0 and Fog 1.5.7, everything works fine, I just have a little problem.

    I set up dnsmasq on the fog server by following this link https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server

    I configure the BIOS of my UEFI machines to boot to 1 option with ipxe (machines can handle fog tasks)
    alt text

    If you deploy, the machine starts up with the task and everything works fine.

    The problem is that the boot sequence in the BIOS changes without me doing anything.
    alt text

    In order to manage all these machines I need that even after deploying an image of an Operating System, the machines will continue booting with IPV4 in 1 Option

    I found someone with the same problem here on the forum https://forums.fogproject.org/topic/13775/boot-option-issue-pxe-booting/10 but the Dell CCTK tool doesn’t work with me because I don’t have dell machines.

    I don’t know if it’s FOG that changes UEFI’s sequence boot, or if it’s really Windows 10

    Thanks for the help you can give me

    G 1 Reply Last reply Dec 5, 2019, 8:32 PM Reply Quote 0
    • G
      george1421 Moderator
      last edited by Dec 3, 2019, 4:16 PM

      Just be aware with uefi machines, windows has the ability (and will) change the boot order to make windows boot manager first in the list. This is a Microsoft thing and not something that FOG is doing.

      How can you tell? Right after imaging but before windows OOBE start, go into the firmware and look at the boot order. If FOG was doing it, right then it should be pointing to the windows boot manager. But since FOG is not doing this (AFAIK) it still should be pxe boot. But then look at it after windows OOBE runs, my bet it will be windows boot manager, thank you microsoft. So why doesn’t this happen for bios computers? Because bios doesn’t have the ability for the operating systems to change the boot order.

      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!

      G 1 Reply Last reply Dec 3, 2019, 10:07 PM Reply Quote 2
      • S
        Sebastian Roth Moderator
        last edited by Dec 3, 2019, 4:35 PM

        @Gilberto-Ferraz I might add posts from other users seeing the same thing:

        • https://forums.fogproject.org/topic/12014/multiple-windows-boot-manager-using-uefi
        • https://forums.fogproject.org/topic/12946/windows-10-change-bios-boot-order-after-deploy

        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
          Gilberto Ferraz @george1421
          last edited by Dec 3, 2019, 10:07 PM

          @george1421 hello thanks for the help. yes already realized that it is the win10 operating system that changes the boot to “Windows boot management” but do you know any script to run in win 10 to put ipv4 back in the 1 option? I already followed some solutions from here. but I can’t come up with a solution without having to go to each of the machines.

          G 1 Reply Last reply Dec 3, 2019, 10:59 PM Reply Quote 0
          • G
            george1421 Moderator @Gilberto Ferraz
            last edited by Dec 3, 2019, 10:59 PM

            @Gilberto-Ferraz

            PS Code example that looks close, but the OP claims it throws an error from the ITNinja site https://www.itninja.com/question/how-to-programmatically-reset-uefi-to-boot-to-ipv4-first-after-scripted-windows-install-sets-windows-as-first-boot

            # Create text file containing firmware settings
            bcdedit /enum firmware > firmware.txt
            
            # Find the line containing "IPV4", and read the line just before that
            $FullLine = (( Get-Content .\firmware.txt | Select-String "IPV4" -Context 1 ).context.precontext)[0]
            
            # Delete our temporary file
            del firmware.txt
            
            # Split line into fields using the first left-curly as the delimiter,
            # and then grab the second field (and restore the first left-curly)
            $GUID = '{' + $FullLine.split('{')[1]
            
            # Set the boot order
            bcdedit /set {fwbootmgr} displayorder $GUID {bootmgr}
            

            At least it appears possible to do from within windows.

            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
            • G
              Greg Plamondon Testers @Gilberto Ferraz
              last edited by Dec 5, 2019, 8:32 PM

              @Gilberto-Ferraz
              Try this running this PowerShell script as a snapin. What it does is moves the first non-windows boot selection to the top, in your case it will move “IP4 Intel® Ethernet Connection I217-LM” to the top of the boot order.

              Works for me…

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

              224

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project