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

After image deploy bios settings are changed?

Scheduled Pinned Locked Moved
General Problems
3
3
742
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
    wmw509
    last edited by Nov 6, 2020, 12:14 AM

    I thought I saw a forum post regarding this issue a bit ago but could not find it with a quick search, so if this is a double post my apologies.

    Anyway I have been having some issues after fog deployments to single hosts. The deployment goes fine and the drive is written as expected, but for some reason my boot priorities change and pxe boot is no longer the first priority.

    In some cases, not only is the boot priority changed, but CSM has been re-enabled on the host motherboard as well. The image I am deploying to the host is an ubuntu image if that matters.

    Anyone else see this behavior?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Nov 5, 2020, 6:43 PM Nov 6, 2020, 12:42 AM

      @wmw509 said in After image deploy bios settings are changed?:

      The deployment goes fine and the drive is written as expected, but for some reason my boot priorities change and pxe boot is no longer the first priority.

      When I first read this bit I was going to say, well that is windows for you. Windows will change the boot order during WinSetup/oobe.

      But since you are using ubuntu that add a bit of a different dynamic here. I can tell you that FOG does not touch the boot order, actually that causes issues for a different reason. The operating systems can interface with the uefi firmware and change boot order settings.

      But lets go ahead and find out if its FOG or not doing this.

      1. Ensure that pxe booting is the default for this test computer.
      2. Schedule a deploy task but before you hit the schedule button tick the checkbox to shutdown the computer after imaging.
      3. Now pxe boot into imaging. At the end of imaging the computer will shutdown.
      4. Power the computer up under your control and go immediatly into the bios (firmware) and confirm the boot order. If its still pxe boot then fog didn’t touch it.
      5. Exit out of the firmware and let the computer boot into ubuntu and let ubuntu do its thing to the computer.
      6. Reboot and go back into the firmware setup.

      Did the boot order change? If so when?

      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 Sebastian Roth Nov 6, 2020, 2:23 AM Nov 6, 2020, 8:16 AM

        @wmw509 Give the steps outlined by George a try but I can imagine this being caused by some fancy logic within the UEFI firmware. As George said FOG is not at all touching any firmware or boot settings… unless you have added post deploy scripts doing something special.

        Here is another test: Schedule the deploy task as debug. When you get to the shell run efibootmgr command (don’t know if you need parameters or not from the top of my head) and take a picture of the output in screen. Now start the task with command fog and step through it. At the end run efibootmgr again, take a picture and compare/post here. Before you type reboot schedule another debug task for this machine and see if it PXE boots into it.

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

        193

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project