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

    EFI_STUB enabled custom FOG kernel causing ipxe.efi to throw error 0x2e008081

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    44
    6.8k
    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
      Scott Lynch @george1421
      last edited by

      @george1421 :

      My work day is about to end; however, I would be happy to go through the process with you sometime soon.

      I did test loading FOG via UEFI on a completely different model of machine. The new machine doesn’t complain about the exec format error. The new machine loads to the FOG boot menu like it should; but, when a task is selected it immediately reloads ipxe and unloads it, and then reloads ipxe in an almost continues loop, when it finally stops, it loads the reFind.efi which gives restart and reboot as its two main options.

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

        @scott-lynch After reviewing this thread, I think we should attempt to boot FOS directly from the usb stick (fall back plan). Right now its not clear if its the hand off between ipxe and FOS, or in the FOS kernel itself.

        ref: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

        Lets stick to the tutorial with the stock FOG kernel.

        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!

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

          @george1421 As far as I understand @Scott-Lynch has already tried USB booting - which worked for other models but not on this one.

          I don’t have much time right now but will get back to you later on today. Most probably I can offer some help on this.

          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
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth

            @Scott-Lynch Talked to George and he’s right about testing to boot FOS Linux directly from USB is good to test. We have seen crappy UEFI firmware where even that failed.

            Other than that I am wondering if you’ve disabled secure boot? I know this questions sounds stupid but just wanna make sure as the error sounds a bit like it could be on. I do remember one case where a Lenovo device had some kind of extra security chip which needed to be disabled - read through this and this.

            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

            S 1 Reply Last reply Reply Quote 0
            • S
              Scott Lynch @george1421
              last edited by

              @george1421 :

              Ok, I’ll go through the tutorial now. I have the FOG server reset to the stock kernel, so everything should be good to go. Will post back with results.

              1 Reply Last reply Reply Quote 0
              • S
                Scott Lynch @Sebastian Roth
                last edited by

                @sebastian-roth :

                No problem. I do have secure boot disabled on the WinBook and the 2nd test computer. Neither computer would boot to the USB stick with the secure boot option turned on. I will go through the FOS tutorial and get back with the results.

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

                  @Scott-Lynch The security chip mentioned is something else. Please read through the links I posted.

                  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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Scott Lynch @Sebastian Roth
                    last edited by

                    @sebastian-roth :

                    My bad. The Intel TPM chip was still enabled. I just disabled it and, just for kicks, ran the PXE boot sequence. I made it to the FOG boot menu. It correctly showed the host as being already registered. (I had manually entered the information into the FOG console since I am having to use a usb-to-ethernet adapter to get things rolling client side.) I then attempted to have it run the Client System Information (Compatibility) at which point it successfully loaded the stock bzImage. It threw a few ACPI errors before going into kernel panic. Exact message for the kernel panic is:

                    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

                    In truth, this is a bit of headway given that, before, it wouldn’t even load the kernel, much less read it and attempt to execute it.

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

                      @scott-lynch said in EFI_STUB enabled custom FOG kernel causing ipxe.efi to throw error 0x2e008081:

                      Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

                      It may not fit exactly this case, but historically every time we’ve seen this the FOG admin had somehow tried to pxe boot with pxelinux.0, which was how fog 1.1 use to pxe boot before FOG switching over the iPXE. Please ensure you are using fog delivered pxe boot files.

                      The other implications of this is that the init.xz file is damaged in some way.

                      The APCI messages are only warnings and not something to be concerned about.

                      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!

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Scott Lynch @george1421
                        last edited by

                        @george1421 :

                        I am still working through the FOS build, but have run into a few snags I am attempting to get through. Namely, should I be looking at the multiboot instructions? They seem to be the only set that mentions EFI…

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

                          @scott-lynch Look at the FOG chat bubble above on the fog tool tray. If you follow the process the usb drive will be universal both uefi and bios booting.

                          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!

                          S 2 Replies Last reply Reply Quote 0
                          • S
                            Scott Lynch @george1421
                            last edited by

                            @george1421 :

                            Well, to get everything set up for all of this, I deleted the bzImage and bzImage32 files located in /var/www/fog/service/ipxe, but I didn’t touch either the init.xz nor the init_32.xz. I also deleted anything with ‘ipxe’ in its filename from /tftpboot/

                            I then ran the FOG installfog.sh in fog_1.4.4/bin to have it put everything back that I’d removed.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Scott Lynch @george1421
                              last edited by

                              @george1421 :

                              Will do. I was just having an issue with grub not wanting to have both grub-efi-ia32 and grub-efi-amd64 installed simultaneously. Every attempt to install one, uninstalls the other.

                              I’m not exactly proficient with linux, but am getting a crash course it seems…

                              1 Reply Last reply Reply Quote 0
                              • S
                                Scott Lynch @george1421
                                last edited by

                                @george1421 :

                                Ok, I booted to the FOS and it worked to the point of loading the kernel and executing the client compatibility tests. After starting the eth0 interface and waiting on the link to come up, it did some udhcpc discover with the client IP, deleted routers, and added dns entries 3 times then failed to get a response from DHCP on the 4th run through.

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

                                  @scott-lynch Ah sorry I forgot to tell you (its in the tutorial) you need to update grub.conf with the IP address of your fog server.

                                  Once you get to the Grub menu, select option 6 to debug

                                  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!

                                  S 2 Replies Last reply Reply Quote 0
                                  • S
                                    Scott Lynch @george1421
                                    last edited by

                                    @george1421 :

                                    LOL actually, I saw that in the tutorial and forgot about it… No biggie. Easily fixed.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Scott Lynch @george1421
                                      last edited by

                                      @george1421 :

                                      I updated the grub.cfg with my server’s IP address and booted the client. It loaded to the DHCP testing, still threw a could not get IP address from DHCP on the 4th query of eth0, but loaded to the FOG splash screen when I hit the key to continue.

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

                                        @scott-lynch so you are at the FOS linux command prompt?

                                        If so there is a command to restart the dhcp process I think it udhcpc -i eth0

                                        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!

                                        george1421G S 2 Replies Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @george1421
                                          last edited by

                                          @george1421 Just off the top of my head I can think of two reasons why its not getting dhcp.

                                          1. FOS doesn’t support your network adapter. This can be proven by ip link show
                                          2. spanning tree hasn’t started forwarding data by the time the network is ready. We see this issue if someone has standard spanning tree enabled and not one of the fast protocols.
                                          3. Its really getting an IP address, its just failing to reach the fog server. It will try this 3 times during booting then give up.

                                          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!

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Scott Lynch @george1421
                                            last edited by

                                            @george1421 :

                                            I don’t think there is a need, I ran the ifconfig command and it shows that eth0 has an IP address and the link is up. No idea why it would say it failed to get an IP address. Regardless, it seems to be okay.

                                            So, to begin the debug process, since I am NOT having an issue with eth0, I use the command ‘fog’ to start an image capture?

                                            S george1421G 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            159

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project