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

    Need Tutorial for Making this Work with UEFI

    Scheduled Pinned Locked Moved
    General
    9
    30
    17.2k
    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.
    • J
      Jamie Rozek
      last edited by

      Alright, I prepped the image and stuff, turned off Secure Boot, PXE booted with legacy. However, now i’m having that issue that some others have been happening where it gets an IP address, and then gets an error which flashes too quickly to see before it reboots.
      I know these 5540’s have been problematic devices, however I did have the thing booting and loading the fog image at one point. (It was previous to installing 1.1.0) Is there any changes in 1.1.0 that could be causing this issue?

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

        Are you running 1.1.0 or 1.0.1?

        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
        • J
          Jamie Rozek
          last edited by

          [quote=“Tom Elliott, post: 28909, member: 7271”]Are you running 1.1.0 or 1.0.1?[/quote]

          1.1.0

          1 Reply Last reply Reply Quote 0
          • N
            need2 Moderator
            last edited by

            I’ve fought and fought with UEFI, and until there is full support for it, I’m just going back to Legacy, and I would suggest you do as well. It is much easier to adapt the OS to use legacy boot than it is to support UEFI on a network boot, let alone if you have a mixed environment.

            1 Reply Last reply Reply Quote 0
            • J
              Jamie Rozek
              last edited by

              Need, the problem is that I am currently booting in Legacy, and it is still doing it. I’m going to try to get some video of the problem.

              1 Reply Last reply Reply Quote 0
              • J
                Jamie Rozek
                last edited by

                Here we go. Here’s video of what I’m seeing.

                [url]https://drive.google.com/file/d/0B3UE8CMNi1taMGJ3Ymdqcks4WHc/edit?usp=sharing[/url]

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

                  So the good news. Your system is booting, and it is booting to to iPXE.

                  Now the bad news. It looks like it’s the extremely long dhcp time causing your issue. Once it fails, it is set to reboot the system as you’re on 1.1.0. This, as far as I can tell, is your network now returning, or the system to receiving the DHCP address.

                  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
                  • W
                    Wolfbane8653 Developer
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J
                      Jamie Rozek
                      last edited by

                      So is there a solution you can think of for this? I could make the Fog server a DHCP server, but I don’t want to complicate things with the other DHCP servers on the network.

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wolfbane8653 Developer
                        last edited by

                        Are you having DHCP issues on your network?

                        Download: [url]http://blogs.technet.com/b/teamdhcp/archive/2009/07/03/rogue-dhcp-server-detection.aspx[/url]

                        There you will find a Rogue DHCP Detector. Run this and check the time(ms) it takes to get an ip. I would hope that it is under 300ms. If over 300ms then your looking at an issue with your DHCP server. If under that in windows there may be an issue with your network switches passing the DCHP under pxe situations. Such as STP or portfast settings may need to be changed.

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jamie Rozek
                          last edited by

                          Welp… I do have some DHCP issues, it appears. One of my DC’s is showing as both authorized and “rogue.” I’m going to have to figure out what’s going on there. We had set this up at one point to be a DHCP server for a VLAN that would be for virtual servers, which never came to fruition. I’m wondering if something from that is mucking things up somewhere.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jamie Rozek
                            last edited by

                            Alright, so here’s the story:

                            We had that rogue DHCP server. It was our secondary DC, which was VLAN-d to a network that no one else could access anyway, so it really wasn’t causing problems. I disconnected the NIC, anyway.

                            I was just ignoring the comments about portfast, because myself and the other network engineer were under the impression it was already enabled on our switches. Ignorance will be the death of all IT.
                            Portfast was NOT enabled. We spent about an hour discussing WHY Cisco would not enable this by default, since the default setting will ignore any port that is in switchport-access trunk mode to begin with.

                            Whatever. That puppy grabbed a DHCP reservation right away, and brought the Fog Menu up less than 5 seconds later.

                            It’s now imaging, and hopefully we will have it all done testing, etc…by the time our new laptops get here so we can just image and deploy.

                            Thanks, all! You’re great!

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jamie Rozek
                              last edited by

                              Alright, Tom—I followed your instructions:
                              (This is for a test machine—so I’m uploading the image with one drive, removing it, and downloading the image with a clean drive on the same machine.)
                              -I disabled SecureBoot, leaving UEFI alone.
                              -Uploaded the image
                              -Swapped the hard drive.
                              -Downloaded the image.
                              -Enabled SecureBoot

                              I get the “Windows needs to be repaired” screen, with error 0xC0000225.
                              “A required file is missing or contains errors.”
                              It points to the \windows\system32\winload.efi file.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jamie Rozek
                                last edited by

                                Got it to work after researching things you’ve placed in the forums and what not. Here is the run down:

                                1. Disable Secure Boot
                                2. Enable the Legacy Boot Option (You may have an option in Advanced Boot Options to Enable Legacy ROMS. You want to check this, as well to allow the legacy PXE to appear)
                                3. Restart and register the machine in Fog.
                                4. Create the upload task in the Web GUI.
                                5. Restart and upload your image.
                                6. On the machines to be imaged, repeat steps 1-3.
                                7. Create the download task in the Web GUI, if you aren’t using Capone.
                                8. Restart the machines and download the image.
                                9. Re-enable Secure Boot. (You will probably have to disable legacy boot option and legacy ROMS in order to do this.)
                                10. Reboot, BAM! It’s been FOGGED!
                                1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  Thank you for the detail.

                                  I’ll see if I can get this into a WIKI article for the time being as well so other’s have a starting point.

                                  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
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    [url]http://fogproject.org/wiki/index.php/Windows_8_UEFI_Imaging_Tips[/url]

                                    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
                                    • N
                                      need2 Moderator
                                      last edited by

                                      This is great. Thanks for reporting your results.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Dean211
                                        last edited by

                                        Thanks 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          Jamie Rozek
                                          last edited by

                                          No problem, you guys helped me quite a bit here, so now it’s my turn!

                                          1 Reply Last reply Reply Quote 0
                                          • L
                                            Luke Anderson
                                            last edited by

                                            Sorry to re-open this thread, the steps above all work great but has anyone had any experience/issues with booting to OEM recovery partitions after deploying images? I have a Sony VAIO laptop here with an OEM recovery partition, which provides functionality to restore the laptop to factory settings.

                                            I perform the same steps as above disabling secure boot, enable legacy boot, deploy image image, enable uefi boot, enable secure boot and it boots into Windows 8 perfectly. However, the built in F10 function to boot into the Sony recovery partition gives the winload.efi error 0xC0000225.

                                            Anyone experienced the same issue?

                                            If i need to re-post elsewhere or start a new thread please let me know.

                                            Thanks
                                            LA

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

                                            212

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project