Skip to content
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

Open
DarwinJS opened this issue Jan 25, 2016 · 8 comments
Open

Couple thoughts... #4

DarwinJS opened this issue Jan 25, 2016 · 8 comments

Comments

@DarwinJS
Copy link

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

@ferventcoder
Copy link
Contributor

👍

@dtgm
Copy link
Contributor

dtgm commented Feb 22, 2016

On this item: "Hyper-V may need to be disabled for Virtualbox to work properly if your computer is a Windows box."

Incorrect. Hyper-V must be disabled for Virtualbox to run this VM.

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.

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...

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."

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.

@ferventcoder
Copy link
Contributor

bathe in ES cpus

Lulz

@ferventcoder
Copy link
Contributor

@DarwinJS @dtgm other than HyperV, do we still need the git clone command?

@regexaurus
Copy link

regexaurus commented Sep 25, 2018

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.
For what it's worth.

@ziggythehamster
Copy link

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).

@ferventcoder
Copy link
Contributor

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).

@FranklinYu
Copy link
Contributor

@ferventcoder You did. It's available https://app.vagrantup.com/ferventcoder/boxes/win2012r2-x64-nocm and the Vagrantfile here has been changed in ba95e7d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants