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

    Cannot Install Windows 10 in New VM

    Scheduled Pinned Locked Moved Compute
    39 Posts 6 Posters 3.6k Views 4 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.
    • D Offline
      dinhngtu Vates 🪐 XCP-ng Team @dinhngtu
      last edited by

      @mickwilli Hi, here are some more suggestions after discussing with the team:

      • Try rebooting the host first;
      • Try using the following commands to change the guest TSC mode:
      xe vm-param-add uuid=(VM UUID) param-name=platform tsc_mode=2
      xe vm-param-add uuid=(VM UUID) param-name=platform nomigrate=true
      
      • Then try reenabling Viridian
      M 1 Reply Last reply Reply Quote 1
      • M Offline
        mickwilli @dinhngtu
        last edited by

        @dinhngtu well, would you believe it, but a reboot of the host seems to have solved the problem. I haven't done anything else and one of the Windows 10 test VMs that I was playing with quite merrily completed its setup process and loaded into Windows with no drama.

        M 1 Reply Last reply Reply Quote 1
        • M Offline
          mickwilli @mickwilli
          last edited by

          Well sadly that's not the end of the story. After running just fine for a week or two, including multiple reboots in the early stages of installing apps etc, the most recent reboot (to install some sort of 'touchscreen driver' update) has caused a reoccurrence of this issue.

          After a few tries, and leaving the VM off for a few minutes, I managed to get it to boot up again, but there is clearly some sort of issue here.

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dinhngtu Vates 🪐 XCP-ng Team @mickwilli
            last edited by

            @mickwilli Is it still the same issue? If it's intermittent and resolves after a few minutes, it might be hardware-related.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mickwilli @dinhngtu
              last edited by

              @dinhngtu yes, same issue, same BSOD error message at the same point (very early) in the boot process. System seems to be perfectly stable once booted.

              I struggle to see how it’s a hardware issue when older versions of Windows have worked just fine, as has every single Linux VM I’ve installed. Also, if it was a hardware issue I’d expect the VM to be unstable, which it does not appear to be. Seems more likely that there is something happening during the very early stages of boot that Xen is not handling gracefully/reliably.

              D M 2 Replies Last reply Reply Quote 0
              • D Offline
                dinhngtu Vates 🪐 XCP-ng Team @mickwilli
                last edited by

                @mickwilli Did you try the tweaks I've posted above?

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  mickwilli @dinhngtu
                  last edited by

                  @dinhngtu No, I haven't tried those. The host reboot appeared to fix the original issue and I had forgotten about them when I was troubleshooting the restart yesterday.

                  I'll do a bit more playing around with this in a few days and report back.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mickwilli @mickwilli
                    last edited by

                    Apologies for the late response - life got in the way!

                    I tried your tweaks and these appear to have solved the issue. The VM has been stable for over a month, which also included a reboot or two to install updates. Thanks for the help.

                    D 1 Reply Last reply Reply Quote 2
                    • D Offline
                      dinhngtu Vates 🪐 XCP-ng Team @mickwilli
                      last edited by dinhngtu

                      @mickwilli Do you know what solved the issue, was it the tsc_mode=2+nomigrate=true one or was it a Windows update?

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        mickwilli @dinhngtu
                        last edited by

                        @dinhngtu I believe it was changing the guest TSC Mode that seems to have done the trick.

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