Solved: Ubuntu install hangs on Hyper-V

Recently, I’ve been getting more and more interested in Chef, and decided it was time to build out a testlab in my Hyper-V.

I started imaging a new VM using the 14.10 LTS release of Ubuntu, one of the supported environments for Chef Server.

However, during install, my VM would freeze here:



At the same time, I noticed a critical level event from Hyper-V.

‘Chef’ was faulted because the guest executed an intercepting instruction not supported by Hyper-V instruction emulation. If the problem persists, contact Product Support. (Virtual machine ID 8895146E-C175-4CA5-B7A6-57E1D6E48290)


I did a bunch of googling and found…almost no one with this same issue, and I thought it was related to Hyper-V on Windows 10 Tech Preview.  As it turns out, this is caused by some generation 2 Virtual Machine features, namely Dynamic Memory.


Install of Ubuntu or other *Nix distro freezes during install on Hyper-V, as a Gen 2 VM


Dynamic Memory does not appear to be supported during install of Ubuntu, and will manifest as errors during OS Install and Parititoning


Disable Dynamic Memory until install is completed.  After installing, run ‘sudo apt-get update’ to ensure drivers are up to date, for optimum VM sveltness.

3 thoughts on “Solved: Ubuntu install hangs on Hyper-V

  1. MiMo January 30, 2016 / 5:57 pm


    My installation was hanging at an earlier stage, but with exactly the same error – disabling Dynamic Memory fixed the problem


  2. michelemottini January 30, 2016 / 5:58 pm


    My installation was hanging at an earlier step, but with the same error message, and disabling dynamic memory solved the problem


  3. Adam Cook February 28, 2016 / 8:19 am

    Great stuff, thank you for sharing!


Have a code issue? Share your code by going to and pasting your code there, then post the link here!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.