• 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.
    • 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
                            • S
                              Scott Lynch @george1421
                              last edited by

                              @george1421 :

                              ip link show gives:

                              eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 3c:18:a0:0c:d6:05 brd ff:ff:ff:ff:ff:ff

                              The network connection looks sound. (Besides, with the trouble I went through to find a usb-to-ethernet adapter that the computer would recognize during boot, it better work… LOL)

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

                                @scott-lynch :

                                I am about to leave for the day. Doc appointment. I will continue in the morning. Is there a dictionary of commands for the fos boot system somewhere I can look at to familiarize myself with the next bit of testing?

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

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

                                  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.

                                  OK then its important to understand why on this. My intuition is telling me its either spanning tree or you did not key in your fog server IP address correctly. If you could snap a picture of it saying it can’t get the IP address we can find out which.

                                  =====
                                  In your case now how to use this usb boot
                                  On your fog server you must first schedule a capture/deploy then usb boot from this stick. At the grub menu pick option 1 and it will do the rest.

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

                                    @scott-lynch Sorry my screen wasn’t refreshing. So I missed a few questions

                                    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 :

                                      No problem. I will start a task and do as you say on booting the client.

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

                                        @george1421 :

                                        Capture task started and client booted to FOS, selected option 1, and it is currently resizing the filesystem. So far, everything looks optimal. It didn’t even hiccup on the call to DHCP for an IP Address. I think the issue with it “failing” had to do with the client sending 4 requests for an IP address.

                                        However, the client just threw a garbled error message. I’ll try and upload a picture. One sec.

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

                                          @scott-lynch :

                                          Here is the error.
                                          0_1512680983636_FOG_Capture_Error.jpg

                                          At this point I need to get to my doctor appointment. Thanks for your help.

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

                                            @scott-lynch Ok this is a image definition configuration error.

                                            FOG supports two different image compression tool. The legacy gzip and the newer zstd. From what I understand from the post you have gzip selected but you are using a compression level higher than 9. I’m suspecting that you are using a compression index greater than 9 as defined in the image definition

                                            That error probably needs to be trapped in the web ui to keep people from making that same setting @Developers

                                            BUT you getting this far also tells us that this computer is not having a problem with the FOS kernel itself, it maybe related to the hand off between iPXE and FOS (bzImage).

                                            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 3 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            231

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project