Cannot Install Windows 10 in New VM
-
@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
-
@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.
-
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.
-
@mickwilli Is it still the same issue? If it's intermittent and resolves after a few minutes, it might be hardware-related.
-
@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.
-
@mickwilli Did you try the tweaks I've posted above?
-
@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.
-
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.
-
@mickwilli Do you know what solved the issue, was it the tsc_mode=2+nomigrate=true one or was it a Windows update?
-
@dinhngtu I believe it was changing the guest TSC Mode that seems to have done the trick.