XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows VM cannot start (FAILED_TO_START_EMULATOR)

    Scheduled Pinned Locked Moved Compute
    9 Posts 3 Posters 2.0k Views 3 Watching
    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.
    • AlexanderKA Offline
      AlexanderK
      last edited by

      Hello everyone,

      I am using xcp-ng with cloudstack.
      There are some vms that cannot boot and i getting the error FAILED_TO_START_EMULATOR

      ec2a66cb-622d-4a40-bbb5-4944c1f7b401-image.png

      Can anyone help me find a solution?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • stormiS Offline
        stormi Vates 🪐 XCP-ng Team
        last edited by

        Make sure you haven't enabled secure boot by mistake on the VMs.

        AlexanderKA 1 Reply Last reply Reply Quote 0
        • AlexanderKA Offline
          AlexanderK @stormi
          last edited by

          @stormi vms had already secure boot enabled.

          stormiS 1 Reply Last reply Reply Quote 0
          • stormiS Offline
            stormi Vates 🪐 XCP-ng Team @AlexanderK
            last edited by

            @AlexanderK Secure Boot was not supported and the switch did nothing before XCP-ng 8.2.1. Now it really attempts to enforce it and fails because you probably didn't install the Secure Boot certificates to the pool.

            https://xcp-ng.org/docs/guides.html#guest-uefi-secure-boot

            AlexanderKA 1 Reply Last reply Reply Quote 0
            • AlexanderKA Offline
              AlexanderK @stormi
              last edited by AlexanderK

              @stormi should i try to install what is at the guide?
              running this?
              secureboot-certs install

              i understood what happened.
              Booting the vms with the option UEFI - LEGACY fixes the issue.

              I will try to read the whole guide.
              Thank you very much

              stormiS 1 Reply Last reply Reply Quote 0
              • stormiS Offline
                stormi Vates 🪐 XCP-ng Team @AlexanderK
                last edited by

                @AlexanderK said in Windows VM cannot start (FAILED_TO_START_EMULATOR):

                @stormi should i try to install what is at the guide?
                running this?
                secureboot-certs install

                If you want to use secure boot, yes. BTW there's an update candidate to fix a recent issue with microsoft servers. See https://xcp-ng.org/forum/post/49373

                AlexanderKA 1 Reply Last reply Reply Quote 1
                • AlexanderKA Offline
                  AlexanderK @stormi
                  last edited by

                  @stormi i will update it after it is completely tested because it is in production state

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jjanvier
                    last edited by

                    In my case Windows VM did not boot with similar error. Reason: no diskspace left on server...

                    AlexanderKA 1 Reply Last reply Reply Quote 0
                    • AlexanderKA Offline
                      AlexanderK @jjanvier
                      last edited by

                      @jjanvier check your disk empty space....

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • First post
                        Last post