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

    EFI Stub Errors on XCP-ng Virtual Machine Attempting 'Perform Full Host Registration and Inventory'

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    18 Posts 5 Posters 1.1k Views
    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.
    • Tom ElliottT
      Tom Elliott @JCS-RVK
      last edited by

      @JCS-RVK https://www.reddit.com/r/Ubuntu/comments/1jc7bzj/install_hangs_after_efi_stub_measured_initrd_data/

      I’m using this link, I know it’s a thirdparty link but wanted to show my thoughts here.

      Based on what I’m seeing -> it would seem to me that the output is working just fine, but sending to a different Video output port than the expected one when the machine boots.

      Since it’s waiting on input, the machine appears to be “Hung” but it’s not really, so maybe (without making any other changes) If you’re able connect a monitor (or maybe multiple monitors) to all the Video ports on the machine and see which one is directing video to.

      yes, I know this can be clumsy becuase one video card might have multiple output ports.

      I hate this issue because it never seems to have a solution, but maybe that’s because there (technically speaking) wasn’t anything wrong. The kernel has decided to send the output somewhere else.

      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

      J 1 Reply Last reply Reply Quote 0
      • J
        JCS-RVK @Tom Elliott
        last edited by

        @Tom-Elliott Just checked, no kernel args set at either host or global levels.

        As for your theory about video output going somewhere else, I’m struggling to think of a way to test it as this instance is a virtual machine with no physical display outputs. I did toggle off the VGA setting in the VM advanced settings in XCP, which didn’t make a difference. Once the VM reached the point where it hangs (or appears to), I switched that setting back on, and off, and back on, hoping for a change but nothing happened.

        I’ve got the VM set in a capture task now that I’ve manually registered it, and the task never fires according to my FOG web GUI, which makes me think the VM is actually hanging instead of just redirecting display output somewhere else. I tried forcing the task to start, and nothing changed.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @JCS-RVK
          last edited by

          @JCS-RVK Roger thank you.

          I know @BPSTravis was able to test with XCP and this particular kernel, so if you’d be willing to maybe share the VM Configuration less any ‘secret’ data?

          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

          J 1 Reply Last reply Reply Quote 0
          • J
            JCS-RVK @Tom Elliott
            last edited by

            @Tom-Elliott @BPSTravis Not much to hide, see attached screenshots as I couldn’t find a way to export the config as an XML. I removed the MAC address from the network screenshot, and note the disk shows disconnected because the VM was shutdown while taking screenshots. Disk resides on an NFS share alongside my other VMs.

            The only difference between this VM and the clone I made was removing the VTPM on the clone.

            Screenshot 2026-04-01 085512.png Screenshot 2026-04-01 085535.png Screenshot 2026-04-01 085552.png Screenshot 2026-04-01 085610.png Screenshot 2026-04-01 085641.png Screenshot 2026-04-01 085657.png

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @JCS-RVK
              last edited by

              @JCS-RVK Based on the limited information I see:

              VGA RAM on yours is 8MiB vs 16MiB (doubt this would be the issue):

              56207332-4dd2-4b97-b8f2-1d7eb4b32000-image.png

              Of other note is the “Secure boot -> Propogate Certificates” which seems to be missing on yours?

              Also His VM has 8 cpu limits and memory is much higher (4/16 vs 4/4 on yours):
              396443ee-6eda-4ba5-b7f5-55db572dcbf2-image.png

              I’m not saying these are the definitive causes of the problem you’re seeing, rather just pointing out the differences I’m seeing at a glance.

              Why one side works, vs the other, I don’t know (using this XCP-ng specific kernel of course)

              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

              J 1 Reply Last reply Reply Quote 0
              • J
                JCS-RVK @Tom Elliott
                last edited by

                @Tom-Elliott I must’ve propagated the pool certificates to the VM already. I looked at my cloned VM and that prompts to propagate certificates. On the clone I matched the settings you called out (Video RAM, CPU, and RAM) and nothing changed.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rodluz Developer @JCS-RVK
                  last edited by

                  @JCS-RVK Okay so I don’t see why this kernel wouldn’t work for you with those settings. Only difference I can think of may be the initrd version that is being loaded. I know that @BPSTravis is using the latest released version so it wouldn’t hurt to update yours too.

                  I also see that you are running an older version of FOG. You could upgrade to the latest stable release and that will also download the latest initrd.

                  You could also download it manually if you don’t want to update FOG:

                  On your FOG server, run this command to download the latest initrd
                  wget https://github.com/FOGProject/fos/releases/download/20260306/init.xz

                  Move it to the correct location like this:
                  sudo mv init.xz /var/www/fog/service/ipxe/

                  Then you need to change the permissions and ownership of that file:
                  sudo chmod 644 /var/www/fog/service/ipxe/init.xz

                  Red Had based server: sudo chown fogproject:apache /var/www/fog/service/ipxe/init.xz

                  Debian based server: sudo chown fogproject:www-data /var/www/fog/service/ipxe/init.xz

                  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

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JCS-RVK @rodluz
                    last edited by

                    @rodluz I tried a manual installation of the updated init.xz as outlined in your instructions, and there was no change. I also upgraded my FOG server and reinstalled your experimental XCP bzImage from earlier in this thread but did not see any change in VM behavior after doing so.

                    Out of curiosity, @BPSTravis, what hardware are you running XCP-ng on? I know it’s virtualized, but maybe there’s some CPU feature I have disabled in BIOS on my XCP hosts or something like that?

                    Also, thanks for your patience. I’m only available to work on this once or twice in the middle of the week as I’m part-time with this organization.

                    1 Reply Last reply Reply Quote 0
                    • P
                      pillbox1234567
                      last edited by

                      Turning off Viridian in the VM settings solves this for me.

                      Viridian is used to pass details about the machine to the host OS. My understanding is that this is for Windows and I’ve seen it cause Linux VMs to hang on boot. Since this is related to hardware, it’s possible that having the setting on is benign in some cases but not in others.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        JCS-RVK @pillbox1234567
                        last edited by

                        @pillbox1234567 Thanks for the suggestion. I turned Viridian off on the cloned VM, and it did not make a difference.

                        Interesting note that you’ve seen it cause boot issues on certain Linux VMs. I have not experienced that behavior yet but will keep an eye out for it.

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

                        154

                        Online

                        12.6k

                        Users

                        17.5k

                        Topics

                        156.4k

                        Posts
                        Copyright © 2012-2026 FOG Project