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

Client hangs at EFI stub:

Scheduled Pinned Locked Moved Solved
FOG Problems
8
74
19.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
    sgilbe @george1421
    last edited by Sep 7, 2023, 8:57 PM

    @george1421 I was able to boot into the live version of ubuntu 22.04.3 desktop as well as the ubuntu 22.04.3 server installer. I was also able to boot into the Rocky Linux 9.2 installer DVD and minimum install.

    G 1 Reply Last reply Sep 7, 2023, 10:46 PM Reply Quote 0
    • G
      george1421 Moderator @sgilbe
      last edited by Sep 7, 2023, 10:46 PM

      @sgilbe ok so if we map this out we don’t know then if its a problem with ipxe or the FOS Linux kernel. Since other distros boot it might not be the linux kernel. The only caveat is the other distros have older kernels in the 5.x series.

      This next step is to build a fos linux usb boot drive. The basis of the build is this tutorial. https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

      Make sure you read the entire thread so you are aware of the caveats. When you get the boot image built, boot into the Grub menu and select the debug option. The idea is to test booting into FOS linux. If it boots then the issue is with iPXE, if it doesn’t boot then we have a linux issue.

      Look at the fog forum chat for a few more hints on building this boot image.

      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 Sep 7, 2023, 11:26 PM Reply Quote 0
      • S
        sgilbe @george1421
        last edited by Sep 7, 2023, 11:26 PM

        @george1421 I will work on making the FOS usb boot drive. Will post when done.

        1 Reply Last reply Reply Quote 1
        • S
          sgilbe @george1421
          last edited by Sep 11, 2023, 4:50 PM

          @george1421 I have been trying to create the USB drive but am having an issue with the following line.

          grub2-install --removable --no-nvram --efi-directory=/mnt --boot-directory=/mnt/boot --target=x86_64-efi

          I get the error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.
          I have checked the system that I am trying to create the USB drive on and secure boot is disabled. I have also tried to add the --force parameter but that did not work. I am using Rocky Linux 9 to create the USB drive. Maybe I am doing something wrong. I could try a different OS to do this on as well if needed.

          Thanks for your help.

          G 1 Reply Last reply Sep 11, 2023, 7:44 PM Reply Quote 0
          • S
            sgilbe @george1421
            last edited by Sep 11, 2023, 5:22 PM

            @george1421 Also with the system that is having issues booting into the deploy image or register host, I am able to boot into the main fog interface.

            ac4cc929-5026-4ca5-92d0-0b83d1f5c968-image.png

            I manually Registered the host which is why it shows as registered.

            I am also able to boot into the CentOS 9 Stream Installer and install that OS if I want to, as well as boot into WinPE works without any issue so I think the iPXE is working ok, but when booting the bzImage for anything but the menu it seems to hang during boot at the same screen. I have tried most of the menu items.

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator @sgilbe
              last edited by Sep 11, 2023, 7:44 PM

              @sgilbe I can say I have not tested this process with Rocky Linux (any version). I did create the image for the tutorial using ubuntu/debian version. This issue may be related to a newer version of grub. You might want to try to add the --force switch to the command.

              Did you look at the forum chat at the top of the page for additional hints?

              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 Sep 11, 2023, 8:31 PM Reply Quote 0
              • S
                sgilbe @george1421
                last edited by Sep 11, 2023, 8:31 PM

                @george1421 I will load ubuntu and try from that. I did try the --force switch and it still failed. I will go through the forum chat to see if there is anything there about the issue.

                G 1 Reply Last reply Sep 11, 2023, 8:51 PM Reply Quote 0
                • G
                  george1421 Moderator @sgilbe
                  last edited by Sep 11, 2023, 8:51 PM

                  @sgilbe said in Client hangs at EFI stub::

                  I will go through the forum chat to see if there is anything there about the issue

                  Hint: little speech bubble along the fog menu bar on the right next to your avatar picture.

                  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
                  • S
                    sgilbe @george1421
                    last edited by Sep 11, 2023, 11:40 PM

                    @george1421 Ok I have created the USB drive using Ubuntu 22.04.3 and it booted to the menu. I selected deploy / capture image and it is hung at the following spot. booting kernel… it has been sitting at that screen for 5 min.

                    44718203-63fc-4db6-ac0f-8cda5a8b08a3-image.png

                    G 1 Reply Last reply Sep 12, 2023, 1:40 AM Reply Quote 0
                    • G
                      george1421 Moderator @sgilbe
                      last edited by Sep 12, 2023, 1:40 AM

                      @sgilbe ok, please pick the debug option, I think its item #6. That menu has a log level of 7.

                      But it does look like the linux kernel is not booting on this hardware, hopefully the additional logging level will give us some help. Also now that you have a usb drive, we can try the 5.15.x linux kernels too. It might be something in the 6.x 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 1 Reply Last reply Sep 12, 2023, 3:07 PM Reply Quote 0
                      • S
                        sgilbe @george1421
                        last edited by Sep 12, 2023, 3:07 PM

                        @george1421 After booting the USB drive I selected option 6 / debug and it is hanging at the same spot of booting kernel no extra information is displayed on the screen.

                        G 1 Reply Last reply Sep 12, 2023, 3:27 PM Reply Quote 0
                        • G
                          george1421 Moderator @sgilbe
                          last edited by Sep 12, 2023, 3:27 PM

                          @sgilbe OK so this is telling us that the linux kernel is not booting on this hardware. Can you go to this URL https://github.com/FOGProject/fos/releases and download the 5.15.x bzImage and copy that to the usb drive to see if 5.15 will boot on this hardware? If not working, then try the 5.10.x, if that fails then try the 4.19.x series.

                          As for the type of system it is an Intel 4th Gen Xeon system (D50DNP)
                          What exact processor is installed in this computer? I might have to search this issue based on the processor. You were able to live boot ubuntu 22.04 so a linux kernel should boot on this system. There might be something missing from the FOS linux 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 1 Reply Last reply Sep 12, 2023, 6:47 PM Reply Quote 0
                          • S
                            sgilbe @george1421
                            last edited by Sep 12, 2023, 6:47 PM

                            @george1421 Here are the CPUs that I have in the system. Intel® Xeon ® Platinum 8480+
                            60a28493-d5e5-4252-9c95-b7c95581a6a4-image.png

                            https://www.intel.com/content/www/us/en/products/sku/231746/intel-xeon-platinum-8480-processor-105m-cache-2-00-ghz/specifications.html

                            Here are the results from the different kernels
                            5.15.98 = failed
                            5.15.93 = failed
                            5.15.68 = failed
                            5.10.50 = failed
                            4.19.145 = failed
                            4.19.101 = failed

                            They all get to the same point on the screen.

                            G 1 Reply Last reply Sep 12, 2023, 7:29 PM Reply Quote 0
                            • G
                              george1421 Moderator @sgilbe
                              last edited by Sep 12, 2023, 7:29 PM

                              @sgilbe said in Client hangs at EFI stub::

                              Platinum 8480

                              OK I’ll look into the kernel configurations tonight. From what I see commercial linux can run on this hardware, there must be something missing from FOS linux. Understand that FOS Linux is a very light and fast version of linux dedicated to imaging. So it supports almost all hardware, servers them selves give us a problem since the hardware is more specific than generic.

                              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 Sep 12, 2023, 9:40 PM Reply Quote 0
                              • S
                                sgilbe @george1421
                                last edited by Sep 12, 2023, 9:40 PM

                                @george1421 It looks like Ubuntu 22.04.3 installer uses kernel 6.2.0 which I was able to boot using the live usb media.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rhromyko
                                  last edited by Sep 13, 2023, 3:09 AM

                                  Try upgrading the PREBOOT UEFI driver which can be downloaded here:
                                  https://www.intel.com/content/www/us/en/download/15755/intel-ethernet-connections-boot-utility-preboot-images-and-efi-drivers.html

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sgilbe @george1421
                                    last edited by Sep 14, 2023, 4:03 PM

                                    @george1421 were you able to look into the kernel configurations? I am trying to follow the instructions on building a custom kernel but not sure what the options are that I need to look at. Do you know how to get the .config file from the kernel build of Ubuntu 22.04.3 If I can do a compare between that and the .config file from fos then maybe I can find the difference that would help.

                                    G 1 Reply Last reply Sep 14, 2023, 4:13 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @sgilbe
                                      last edited by Sep 14, 2023, 4:13 PM

                                      @sgilbe I haven’t had a chance to look into the settings as of now. Its kind of a complicated subject to explain in an email. My gut reaction is that it should boot even if the advanced features are not turned on. It might be what rhromkyo mentioned about the preboot environment but that also got me thinking if this is new hardware have you run through the lifecycle controllers and updated all of the firmware in that server? I’m going to keep working on the kernel bits but lets make sure there isn’t something in the firmware causing the issue.

                                      Also as a hack and it won’t fully work, it would be interesting to take the vmlinuz from your ubuntu disk that is working and save it on the usb stick as bzImage (watch the case) and see if the kernel tries to boot when you select debug mode from the grub menu. It appears that the FOS linux kernel doesn’t even try to boot.

                                      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 Sep 14, 2023, 5:29 PM Reply Quote 0
                                      • S
                                        sgilbe @george1421
                                        last edited by Sep 14, 2023, 5:29 PM

                                        @george1421 I am in the process of getting setup to do the preboot stuff I will try getting the vmlinuz from ubuntu and try as a bzImage on the usb drive.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sgilbe @george1421
                                          last edited by Sep 14, 2023, 11:02 PM

                                          @george1421 When I used the ubuntu kernel as the bzImage it started to boot but I get a kernel panic. That is a good sign though.
                                          5218b12f-95fe-48f9-9a5f-cf3ee2f6034b-image.png

                                          G 2 Replies Last reply Sep 15, 2023, 12:30 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 1 / 4
                                          1 / 4
                                          • First post
                                            14/74
                                            Last post

                                          162

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project