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

    UEFI deployment issues

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    15
    4.6k
    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
      Gunnar
      last edited by

      I’m trying to restore/deploy a Windows 10 64 Bit UEFI / GPT image to a physical machine with Asus mainboard, Realtek NIC (IPv4) and Intel CPU.

      I 1st didn’t find any further information beside the fact that you have to set your UEFI to legacy enabled and secure boot off to make UEFI work. If none legacy is active the system won’t even boot from fog so I enabled legacy option for the realtek nic and I checked that secure boot is disabled. dhcp option 066 is set to correct IP and option 067 is set to undionly.kpxe.

      After I set the DHCP options specified in https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence (Using Windows Server 2012 (r1 and later) DHCP Policy) the NIC uses also UEFI to boot. SO option 67 is set to ipxe.efi

      The issue I got now is that the system is doing (i)PXE boot from fog-server, wiping the disk but failing to restore the gpt /dev/sda1 no mater if I use legacy for UEFI boot mode for NIC. I didn’t get an detailed error why that step did not work.

      I’m not sure what I’m doing wrong aka pebcak / which option is not proper set. So any help is welcome.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        What Version of FOG?

        What OS is the FOG Server On?

        I’m sure there’s more questions, but I’m not 100% here today.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
          Gunnar
          last edited by

          fog: Running Version: 8209 SVN Revision: 5732
          OS: 3.19.0-61-generic #69~14.04.1-Ubuntu

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Gunnar
            last edited by

            @Gunnar Is this a custom white box or is there a model for the problematic computer?

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

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

              I’m in the same state of mind as Tom (body here and brain a bit vacant).

              Let see…

              You can pxe boot in uefi mode into the FOG menu and then get the FOS engine to run on the target computer. You can get this far for both uefi and bios modes, right?

              If that is the case, I would schedule another capture/deploy again, but pick the debug option. Then pxe boot the client computer. After a few presses of enter you should be dropped to a command prompt on the target computer. Then run the fixpart /dev/sda command to reset the disk information. If you did pick a debug deploy command then just key in fog on console to start the deployment. You will have to press enter after every step, but it should deploy, or simply reboot the FOS engine (target computer).

              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
              • Q
                Quazz Moderator
                last edited by

                Please provide a screenshot of the failing deployment screen.

                From what I gather George is on the right track with fixparts though.

                1 Reply Last reply Reply Quote 2
                • G
                  Gunnar
                  last edited by

                  The target computer is a custom build system.
                  Host Hardware Inventory:
                  System Manufacturer ASUS
                  System Product All Series
                  System Version System Version
                  System Serial Number System Serial Number
                  System Type Type: Desktop
                  BIOS Vendor American Megatrends Inc.
                  BIOS Version 2205
                  BIOS Date 05/26/2015
                  Motherboard Manufacturer ASUSTeK COMPUTER INC.
                  Motherboard Product Name H81M-PLUS
                  Motherboard Version Rev X.0x
                  Motherboard Serial Number 151159713501022
                  Motherboard Asset Tag To be filled by O.E.M.
                  CPU Manufacturer Intel
                  CPU Version Intel® Pentium® CPU G3240 @ 3.10GHz
                  CPU Normal Speed Current Speed: 3110 MHz
                  CPU Max Speed Max Speed: 3900 MHz
                  Memory 7.65 GiB
                  Hard Disk Model SPCC Solid State Disk
                  Hard Disk Firmware SAFM12.2
                  Hard Disk Serial Number 8EFA076309E703894010
                  Chassis Manufacturer Chassis Manufacture
                  Chassis Version
                  Chassis Serial Chassis Serial Number
                  Chassis Asset Asset-1234567890

                  1 Reply Last reply Reply Quote 0
                  • G
                    Gunnar
                    last edited by Gunnar

                    @george1421 fixpart doesn’t exist but fixparts /dev/sda returns error mbr not found, wich is quiet normal as i’m trying to restore GPT based partition.

                    @Quazz https://imgur.com/izQ0u3k 0_1466667296439_izQ0u3k - Imgur.jpg )

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @Gunnar
                      last edited by Wayne Workman

                      @Gunnar You’re correct, you don’t need fixparts because it’s a GPT type disk.

                      Try to set your additional UEFI dhcp policy’s 067 option to realtek.efi and see if you fair better or not.

                      Also, tell us more about the HDD and the source image. Is the image resizable? How big is the image on the source machine? Is the destination drive a hybrid or completely solid-state?

                      If you do a debug-deploy on that computer, and type lsblk at the shell, what does it show?

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      george1421G 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        I’m confused.

                        Why are we changing boot file?

                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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 @Wayne Workman
                          last edited by george1421

                          @Wayne-Workman Just for clarity if the OP is able to run fixparts then PXE booting is not an issue (unless I missed something). Fixparts requires the FOS engine to be running on the target computer.

                          What is the real issue here?

                          Sorry for putting it this way, but there is a lot of noise (unimportant information) in the OP. For the OP a screen shot of the exact error is what is needed here. Pictures speak better than words when trying to pinpoint the error.

                          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 2
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            what George said.

                            Screen shot.

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gunnar
                              last edited by Gunnar

                              the image:
                              Windows10UEFI64bit
                              default: Windows Other
                              Multiple Partition Image - Single Disk (Not Resizable)
                              Everything
                              39.45 GiB

                              the target:
                              SSD as posted below. size about 110 GB so larger then the image.

                              0_1466672373108_IMG_20160623_105138.jpg

                              p.s. I didn’t change the iPXE kernel as the system is already done with boot else I could have executed any of the requested commands.

                              1 Reply Last reply Reply Quote 0
                              • Q
                                Quazz Moderator
                                last edited by

                                Given that it has issues putting back the partition tables, I’m guessing something went wrong in the capture process. Is it possible to recapture the image?

                                1 Reply Last reply Reply Quote 2
                                • G
                                  Gunnar
                                  last edited by

                                  @Quazz sometimes the simple ideas are the best ideas. The image seemed to be not OK so that was the reason for all the problem.

                                  I created a new image which I successfully deployed on the machine. Problem solved. 🙂

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

                                  130

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.4k

                                  Posts
                                  Copyright © 2012-2024 FOG Project