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

    Is it possible to update bios setting via FOG server.

    Scheduled Pinned Locked Moved
    General
    3
    14
    2.1k
    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.
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      Cross linking the other related post: https://forums.fogproject.org/topic/15004/ubuntu-wont-boot-up-after-the-image-is-deployed

      Looks like it’s legacy BIOS and hardware not playing nice with exit types to chainload the OS from disk after the deployment.

      So do you actually need to re-deploy those machines later on again? Or will this be a “once and for all” deploy and the machines are being shipped somewhere?

      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

      E 1 Reply Last reply Reply Quote 0
      • E
        emreonder @Sebastian Roth
        last edited by

        @sebastian-roth said in Is it possible to update bios setting via FOG server.:

        OS and hardware not playing nice with exit types to chainload the OS from disk after the deployment.
        So do you actually need to re-deploy those machines later on again? Or will this be a “once and for all” deploy and the machines are being shipped somewhere?

        Hi,

        Yes every time i have updates i will re deploy a newer image so i can not give up on PXE so it is not a one time deployment

        Shall we remove the other posts and keep one of them a live.
        Please sugget me how to move frw.

        Thanks a lot,
        BR,
        Önder

        george1421G 1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          @emreonder Keep the other topics open I would say. No need to delete those. It’s just good to be aware of this.

          So to answer the question about BIOS settings: I found GIGABYTE Touch BIOS ™ but that seems to be a Windows GUI tool and not something you can run as a snapin I suppose. So from what I found so far there is no way you can switch to local disk boot using tools on this motherboard.

          So we will need to focus on other options. Please read my post in the other topic and provide the information…

          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
          • george1421G
            george1421 Moderator @emreonder
            last edited by

            @emreonder Just for clarity are you running these motherboards in bios mode or uefi mode?

            This part is only me thinking out loud, but in theory if they are in uefi mode you should be able to use the efibootmgr application in linux to change the boot order. That can be deployed as an FOG snapin.

            So the idea has two parts, but initially you will need to start the process by pxe booting at least once.

            At the end of imaging FOG has a place to call an external bash script. That script is called a fog post install script. In that script you would make a call to the efibootmgr to set the hard drive as the first boot item. Upon the first reboot after imaging the computer will boot from the hard drive and complete ubuntu setup.

            Now when you want to image it again, you will call a snapin (fog application deployment tool) to call the efibootmgr on the target computer and change the boot order to pxe booting then when you issue the reimaging task the fog client will reboot and pxe boot into imaging. At the end of imaging the post install script will run again to change the boot order to hard drive first.

            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!

            E 1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @george1421 Looking at the partition table posted in the other topic I am fairly sure this is a legacy BIOS install.

              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

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

                @sebastian-roth said in Is it possible to update bios setting via FOG server.:

                I am fairly sure this is a legacy BIOS install.

                Maybe its time to mix things up a bit and go uefi and flat partitions on the image to get the maximum flexibility.

                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
                • E
                  emreonder @george1421
                  last edited by

                  @george1421 Sounds very complicated to me i am not sure if i can manage it :((

                  Do you think if i modify and find a way to remove the other partitions to have only one single partition it would help to get to be booted properly ?

                  Other option i am thinking about to shut down the fog just after done with all the imaging and when i need to reimmage i will re start it.

                  What is the most simple way of shutdown the fog services and restart it again is there a command line for it ?

                  Thanks,
                  Önder

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @emreonder said in Is it possible to update bios setting via FOG server.:

                    What is the most simple way of shutdown the fog services and restart it again is there a command line for it ?

                    Best if you disable the PXE boot information in the DHCP server so PXE booting hosts should chainload to disk as soon as possible. If you only shutdown the FOG server or its services you will have longer delays in bootup.

                    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

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      emreonder @Sebastian Roth
                      last edited by

                      @sebastian-roth Could you please let me know which lines are the PXE in the DHCP boot ?
                      What is the min i should delete ?

                      Thanks,

                      option space PXE;
                      option PXE.mtftp-ip code 1 = ip-address;
                      option PXE.mtftp-cport code 2 = unsigned integer 16;
                      option PXE.mtftp-sport code 3 = unsigned integer 16;
                      option PXE.mtftp-tmout code 4 = unsigned integer 8;
                      option PXE.mtftp-delay code 5 = unsigned integer 8;
                      option arch code 93 = unsigned integer 16;
                      use-host-decl-names on;
                      ddns-update-style interim;
                      ignore client-updates;

                      subnet 10.1.0.0 netmask 255.255.0.0{
                      option subnet-mask 255.255.0.0;
                      range dynamic-bootp 10.1.2.1 10.1.2.250;
                      default-lease-time 21600;
                      max-lease-time 43200;
                      option routers 10.1.0.1;
                      option domain-name-servers 8.8.8.8;
                      next-server 10.1.11.4;
                      class “Legacy” {
                      match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00000”;
                      filename “undionly.kkpxe”;
                      }
                      class “UEFI-32-2” {
                      match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00002”;
                      filename “i386-efi/ipxe.efi”;
                      }
                      class “UEFI-32-1” {
                      match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00006”;
                      filename “i386-efi/ipxe.efi”;
                      }
                      class “UEFI-64-1” {
                      match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00007”;
                      filename “ipxe.efi”;
                      }
                      class “UEFI-64-2” {
                      match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00008”;
                      filename “ipxe.efi”;
                      }
                      class “UEFI-64-3” {
                      match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00009”;
                      filename “ipxe.efi”;
                      }
                      class “SURFACE-PRO-4” {
                      match if substring(option vendor-class-identifier, 0, 32) = “PXEClient:Arch:00007:UNDI:003016”;
                      filename “ipxe.efi”;
                      }
                      class “Apple-Intel-Netboot” {
                      match if substring(option vendor-class-identifier, 0, 14) = “AAPLBSDPC/i386”;
                      option dhcp-parameter-request-list 1,3,17,43,60;
                      if (option dhcp-message-type = 8 ) {
                      option vendor-class-identifier “AAPLBSDPC”;
                      if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                      # BSDP List
                      option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                      filename “ipxe.efi”;
                      }
                      }
                      }

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth

                        @emreonder I thought you have Windows DHCP server in your network. Well if the FOG server is actually providing IPs as the main DHCP server in your network you should not shutdown the server/service as clients would not get an IP via DHCP even when booting Windows.

                        If this is really true (you don’t have another DHCP server) then I would suggest you comment the line “next-server 10.1.11.4;” by putting a # at the start of this line, like this:

                        ...
                        # next-server 10.1.11.4;
                        ...
                        

                        Save the config and restart the server.

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

                        174

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project