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

    Boot Order

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 15 Views
    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.
    • C
      chevengur
      last edited by

      And through FOG, it is possible to change the Boot Order? During deployment, the Boot Order switches to Windows/Debian/Ubuntu. But suppose I want to change it again automatically when creating an OS Task, so that the machine boots via iPXE again and installs the OS I need. If this is possible, please clarify how to do it.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @chevengur
        last edited by

        @chevengur I have not had to do this before, but I can tell you in concept how to go about it.

        You will need to create a post install script, that script gets executed just after the image is pushed to the computer and before its rebooted. This script is a bash shell script (remember the FOS engine is linux based).

        Since it is linux based you will need to use linux command line tools to reset the boot image. The tool named is efibootmgr. This command is built into FOS linux engine.

        So on its simplest form, you will create a FOG post install script and that script will call the efibootmgr to set the boot image. Understand that MS Windows will change this order without notice and at random times during its life.

        Its not hard to do, but it will take a little effort on you to work out what is needed.

        I can’t give you a step by step on how to do this but I can give you a general direction to look in if you want to go down this path.

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

        100

        Online

        12.4k

        Users

        17.4k

        Topics

        155.9k

        Posts
        Copyright © 2012-2025 FOG Project