Running 64 bit guest OS in virtual ESXi

EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
So to get around the limitation of having a single ESXi host, I blatted my installation of ESXi 5 and installed Windows Server 2008 R2 on my physical machine. Chucked on Workstation 7.1 and created a virtual ESXi 5 host. When I boot up a 64 bit guest Windows Server 2008 R2 on the virtual ESXi host, I get:

This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.
Longmode is disabled for this virtual machine. Continue without 64 bit support?

I googled the error and people seem to suggest to ssh to the ESXi server and follow the instructions in this link. I managed to somehow add the required line, but I still get the same error. VM version = 8.

Help!
NSX, NSX, more NSX..

Blog >> http://virtual10.com

Comments

  • JDMurrayJDMurray Admin Posts: 13,023 Admin
    Does your physical machine have a 64-bit processor and virtualization is turned ON in its BIOS?
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    It sure does have all the jazz turned on JD. I had physical ESXi running without issues.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • JDMurrayJDMurray Admin Posts: 13,023 Admin
    I have seen that same message in VMware Player 3 running on a 64-bit machine with 64-bit guest OSes, but I ignored it and didn't have a problem.
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Yeah, but then I cannot install vCenter. Googling away...
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • GAngelGAngel Member Posts: 708 ■■■■□□□□□□
    What processor are you running?

    In the processor options for that esx box under workstation is VT enabled on that?
    I'm running WS8.0.1 with the exact same setup on multiple physical boxes without an issue.
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    I have an e6550 running on that box. Like I said, I can create Windows Server 2008 R2 VM's in Workstation with no issues at all. It's only when I try to create a guest VM within the virtual ESXi is when I have this issue.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • undomielundomiel Member Posts: 2,818
    Why not try nesting ESXi inside ESXi instead of using Workstation? I haven't tried it myself but I know it is possible with 4 so I would imagine it would be possible with 5 as well. Here's a guide I found on it: VMware vSphere 5 makes it even easier to run ESXi on ESXi, and now supports 64-bit nested guests | VCritical
    Jumping on the IT blogging band wagon -- http://www.jefferyland.com/
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Okay I tried that too Jeff, now when I try installing ESXi inside the physical ESXi box, I get the message:

    Hardware virtualisation is not a feature of this CPU, or is not turned on in BIOS.

    It sure as hell is, VT-x and VT-d are both enabled, Trusted Execution is off. I have even done a BIOS update, but still get the same message. Any other ideas?
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • jibbajabbajibbajabba Member Posts: 4,317 ■■■■■■■■□□
    Essendon wrote: »
    Okay I tried that too Jeff, now when I try installing ESXi inside the physical ESXi box, I get the message:

    Hardware virtualisation is not a feature of this CPU, or is not turned on in BIOS.

    It sure as hell is, VT-x and VT-d are both enabled, Trusted Execution is off. I have even done a BIOS update, but still get the same message. Any other ideas?

    Ensure that 'Execute Disable Bit' is enabled too in the bios .. If that is the same as 'Trusted Execution' then turn it on and not off ...
    My own knowledge base made public: http://open902.com :p
  • MentholMooseMentholMoose Member Posts: 1,525 ■■■■■■■■□□
    Essendon wrote: »
    Okay I tried that too Jeff, now when I try installing ESXi inside the physical ESXi box, I get the message:

    Hardware virtualisation is not a feature of this CPU, or is not turned on in BIOS.

    It sure as hell is, VT-x and VT-d are both enabled, Trusted Execution is off. I have even done a BIOS update, but still get the same message. Any other ideas?
    Did you enable vhv.allow on the host?
    MentholMoose
    MCSA 2003, LFCS, LFCE (expired), VCP6-DCV
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Sure did Moose. I just double checked and that entry is there. Followed the instructions in the link I alluded to in my opening post.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • undomielundomiel Member Posts: 2,818
    For the ESXi nested virtual machine do you have Expose Nx Flag set?
    Jumping on the IT blogging band wagon -- http://www.jefferyland.com/
  • petedudepetedude Member Posts: 1,510
    Essendon wrote: »
    Sure did Moose. I just double checked and that entry is there. Followed the instructions in the link I alluded to in my opening post.

    I'm no VMWare expert, but my question would be-- do you need a firmware/BIOS update on that box? Maybe your CMOS settings aren't visible to VMWare due to some glitch in BIOS.

    Just my dumb two cents.
    Even if you're on the right track, you'll get run over if you just sit there.
    --Will Rogers
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Done that too mate - a few posts up.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    undomiel wrote: »
    For the ESXi nested virtual machine do you have Expose Nx Flag set?

    Yes Jeff, I've tried both the expose and the hide option with the same result.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Here's the error I get just after my virtual ESXi server boots up:

    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • jibbajabbajibbajabba Member Posts: 4,317 ■■■■■■■■□□
    Essendon wrote: »
    Here's the error I get just after my virtual ESXi server boots up:
    jibbajabba wrote: »
    Ensure that 'Execute Disable Bit' is enabled too in the bios .. If that is the same as 'Trusted Execution' then turn it on and not off ...

    That is the error you're getting if the above isn't enabled in the bios, sometimes called "No-Execute Memory Protection" ..
    My own knowledge base made public: http://open902.com :p
  • jibbajabbajibbajabba Member Posts: 4,317 ■■■■■■■■□□
    Everyone wrote: »
    You need Workstation 8, nested 64-bit is NOT supported on 7...

    64-bit guests on nested ESXi/vSphere now possible thanks to Workstation 8 | Fix the Exchange!

    *double facepalm* - didn't even read that (that he is using 7) ... Everyone is right (no pun intended) - VMW8 is what you need mate otherwise you will only be able to use vSphere 4.x with a bit of hacking and it is bearly useable ....
    My own knowledge base made public: http://open902.com :p
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    I'll give WS8 a go tonight and tell you guys how I go. A colleague has been able to run nested ESXi inside WS8 with no issues, just as Josh has indicated.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • jibbajabbajibbajabba Member Posts: 4,317 ■■■■■■■■□□
    Essendon wrote: »
    I'll give WS8 a go tonight and tell you guys how I go. A colleague has been able to run nested ESXi inside WS8 with no issues, just as Josh has indicated.

    Done so since the beta - it really is a no brainer - no tinkering needed - just works . :)
    My own knowledge base made public: http://open902.com :p
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Awright guys, here's an update. Managed to get it working using this link here > VMware Communities: Help Nested Esxi 5 VM Issues!!!

    Apparently you need to update the vmx file of the virtual ESXi to allow the passthrough of VT-x. Did not have to go with WS8, but I'll keep it handy in case it's needed down the track - who knows how many curve balls are coming my way in my quest for the VCP5!

    Thank you guys for taking the time to post up, taught me a fair bit.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • EveryoneEveryone Member Posts: 1,661
    I would still recommend upgrading to 8. No hacks needed for it to work there, and lots of other nice new features in it.
  • undomielundomiel Member Posts: 2,818
    Glad to hear you found the solution! I'm pretty sure he is nesting ESXi in ESXi, not Workstation.
    Jumping on the IT blogging band wagon -- http://www.jefferyland.com/
  • EveryoneEveryone Member Posts: 1,661
    undomiel wrote: »
    Glad to hear you found the solution! I'm pretty sure he is nesting ESXi in ESXi, not Workstation.

    Read the OP...
    Essendon wrote:
    Chucked on Workstation 7.1 and created a virtual ESXi 5 host.

    Nesting vSphere (not called ESXi anymore ya know. :P) 5 on vSphere 5 should work too though, and allow 64 bit guests.
  • undomielundomiel Member Posts: 2,818
    Not to start an argument about these things but later on down in the thread there's this.
    Essendon wrote: »
    ... now when I try installing ESXi inside the physical ESXi box ...
    Jumping on the IT blogging band wagon -- http://www.jefferyland.com/
  • jibbajabbajibbajabba Member Posts: 4,317 ■■■■■■■■□□
    Everyone wrote: »
    Nesting vSphere (not called ESXi anymore ya know. :P) 5 on vSphere 5 should work too though, and allow 64 bit guests.

    Actually that is my home lab. I got a dual 5620 box with 64GB of ram, running three hosts nested and a couple of VMs on the physical host for management (vcenter, vcma, vma and the sorts).

    Works perfectly fine.

    http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/
    My own knowledge base made public: http://open902.com :p
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    I'll clarify guys, I had WS7.1 earlier but then undomiel suggested nesting ESXi inside ESXi, and this is what I went with in the end.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
  • EssendonEssendon Member Posts: 4,546 ■■■■■■■■■■
    Everyone wrote: »
    Nesting vSphere (not called ESXi anymore ya know. :P) 5 on vSphere 5 should work too though, and allow 64 bit guests.

    Yeah doesnt work right away though, you got to allow VT-x to pass through to the virtual ESXi, umm vSphere 5 box. I followed this link.
    NSX, NSX, more NSX..

    Blog >> http://virtual10.com
Sign In or Register to comment.