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 1.1k 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
                      • First post
                        Last post