Dec 4, 2011

Installing Microsoft Hyper-V on Windows 2008R2 nested in VMWare Workstation 8


I was trying to create a lab enviroment to test Hyper-V high availability.

After confirming that I have enabled virtualisation of VT-x/EPT like in picture bellow

I have tried toisntall Hyper-V role. I succeded!!!

But, the problem appeared when tried to start virtual machine.
Error stated (Hyper-V error ID 20144)

*****************
Description:
The Virtual Machine Management Service failed to start the virtual machine '%machinename%' because one of the Hyper-V components is not running (Virtual machine ID %ID_of_the_virtual_machine%).
 *******************

After reading a lot of docs there is one thing to do if you want to run nested VMs.



Edit VMX configuration file of virtual Hyper-V server and at the end add the following line:

hypervisor.cpuid.v0 = "FALSE"

Machine must be turned off. After adding line, power on virtual Hyper-V server and everything will be ok.

You don't need to reinstall anything. You can reconfigure existing machine and make it work.

I think that VMWare should make this automatic.

Post me if it's not working or explanation is not clear.

26 comments:

  1. great post this has been busting my balls in my lab all day

    thanks

    ReplyDelete
    Replies
    1. Thanks for your help I am very much thankful to you. i am getting this error since One month.finally It worked and its amazing.

      Delete
  2. That was bustin' my b*** several days :)... I'm happy the article helped you! Cheers!

    ReplyDelete
  3. Perfect! This thing busted several of myths. Where did you find those information, especially about adding new value to the config file? Thanks a lot!
    draq

    ReplyDelete
  4. Hi! I've found it in VMWARE documentation. There are articles that are explaining how to enable nested virtualization, where another hypervisor is a guest and you have another virtual machine nested.

    Maybe I can find a hyperlink to send it to you, if you need it.

    At the moment, you have a lot of articles like this all over the web.

    Velimir

    ReplyDelete
  5. Thank you very much from Germany for this article. It helped me use a test drive downloaded from Citrix.

    Karlheinz

    ReplyDelete
  6. Works perfectly! Thanks for posting it on the web ;)

    ReplyDelete
  7. Thanks velimir Kojic..
    it's very usefull..
    could u give me hyperlink about VMWare documentation???

    Regards,
    Chazali Husni

    ReplyDelete
    Replies
    1. I've used this documentation while creating this article.

      http://communities.vmware.com/docs/DOC-8970/diff?secondVersionNumber=38

      Delete
  8. Just working.
    Thanks. :)

    ReplyDelete
  9. Excellent! Thank you very much!

    ReplyDelete
  10. I have amd brazos dual core c60 which supports according to amd software,
    esxii5 with hypervior is working fine,
    but when adding the mentioned hypervisor.cpuid.v0 = "FALSE",the vmware 8 is giving fault occurance,
    disabling this parameter hyper v is installing with no error ,but when I launch any oparating system it is giving one of the hyper v component is missing.

    ReplyDelete
    Replies
    1. I've tested this configuration on Intel i7 CPU.

      Do you have a chance to test your configuration on Intel CPU? Or to test it on someones system with AMD CPU to see that system's behavior...

      Delete
    2. No!I am testing for lab purpose.Also Itried to install the hyper v in that amd machine in separate partition like a base machine,that time the virtual hdd was not loading,my question is that microsoft HAV tool as well as amd toolare are giving positive result,wil I have to update 2008 r2 for this comaptibility or the problems lises some where else

      Delete
    3. Hi!

      I'm gonna ask a stupid question, maybe. Is CPU virtualisation support enabled in BIOS?

      Delete
  11. Thanks a lot Sir!!! I have wasted a day on this issue...

    ReplyDelete
  12. Guys i am having a issue with Hyper-V ..can you guys give me a clue to fix this .. Basically i am running a Win7 where i am using VMware to create my small lab. So i start installing Windows Server 2008R2 and i am using now from this OS Hyper V to create some virtual machines. Since i am trying to install the first virtual machine, a win7 iso i get this message error ..

    [img]http://i32.servimg.com/u/f32/11/22/20/87/vm110.jpg[/img]

    Can anybody help me here?

    Regards []

    ReplyDelete
    Replies
    1. Check the Event Viewer on Hyper-V server machine to get more detailed error msg.

      Post iz here.

      Delete
  13. Edit VMX configuration file of virtual Hyper-V server and at the end add the following line:

    hypervisor.cpuid.v0 = "FALSE"

    Where is the file that this has to be added to at, like what is the filename and location?

    Thanks

    ReplyDelete
    Replies
    1. VMX file is named by a name you gave to a VM (virtual_machine_name.vmx). File is located in a VM folder, where virtual HDDs are, etc...

      Delete
  14. Follwed the procedure on Vmware 8 and now it works fine

    Thanks

    ReplyDelete
  15. Thank you for information... :D

    ReplyDelete
  16. Thanks for article, but in my case it didnt work. I have error message: The virtual machine could not be started because the hypervisor is not running.
    Do you know what is all about?

    ReplyDelete
    Replies
    1. Could you get me your Event ID?

      P.S. Sorry for not replying for so long time, I was pretty busy :(.

      Delete
  17. Thanks a lot!!! It saved me a lot of time!!!!

    ReplyDelete
  18. Awesome!! thanks for posting this setting :)

    ReplyDelete