-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couple thoughts... #4
Comments
👍 |
Incorrect. Hyper-V must be disabled for Virtualbox to run this VM.
That is because your vbox VMs were only 32-bit. Turn on Hyper-V, restart, and try to run a Virtualbox 64-bit VM. Won't/can't happen .... unless you sleep with an architectural hardware engineer and bathe in ES cpus...
No rare test cases. Very simply because the test VM is 64-bit and Virtualbox must have access to the x86 CPU virtualization extensions (VT-x/AMD-V) to run a 64-bit VM. |
Lulz |
This issue is pretty old, but hey it's still open, so thought I would add my .02. I needed (wanted) both Hyper-V and VirtualBox on my workstation, even before I started trying out chocolatey-test-environment, and ran into the conflict between the two some time ago. I ended up using the workaround Scott Hanselman nicely wrote up here. It adds a boot (BCD) entry without hypervisor support. Now when I (re)boot my workstation, I can boot to an environment that supports Hyper-V and Docker OR to an environment that supports VirtualBox. Everything else remains the same--it's not separate OS installs! I like rebooting about as much as anybody else, but its not so bad with SSDs. |
You can avoid doing the BCD edit yourself with this handy tool. The README should definitely be updated; if Hyper-V is enabled (this is a boot-time option), VirtualBox basically doesn't work (it's x86 only and exceptionally slow because everything is emulated in software). |
I thought we put up a HyperV image you could use - I could be mistaken and we have not added that yet here (but it is available). |
@ferventcoder You did. It's available https://app.vagrantup.com/ferventcoder/boxes/win2012r2-x64-nocm and the Vagrantfile here has been changed in ba95e7d. |
Thanks so much for setting this up!
On this item: "Hyper-V may need to be disabled for Virtualbox to work properly if your computer is a Windows box." - I know you can't run VMWare and Hyper-V, but I've never had troubles with Virtual Box with Hyper-V enabled on Win 8.1 and 10. Maybe if there have been known observed cases of conflict change this to "Although rare, in some cases Hyper-V may need to be disabled for Virtualbox to work properly on Windows."
Would be great to show the actual git clone command somewhere and give it a sample folder for the rest of the doc. Like this:
git clone https://github.com/chocolatey/chocolatey-test-environment.git c:\users\public\chocolatey-test-environment
OR
git clone https://github.com/chocolatey/chocolatey-test-environment.git
The text was updated successfully, but these errors were encountered: