AndrewDryga / vagrant-box-osx

Issue tracker for macOS Sierra Vagrant box.
https://app.vagrantup.com/AndrewDryga/boxes/vagrant-box-osx
MIT License
983 stars 106 forks source link

Sierra box won't boot if set memory over 2GB #55

Closed jboffel closed 7 years ago

jboffel commented 7 years ago

Hello,

I tried to allocate more than 2GB of ram but it failed to boot properly. Both guest and host are 64bits system.

Do you know why it is not working?


Actually I have been able to go up to 3GB by raising the video memory from 32 to 64MB with this vagrant instruction: vb.customize ["modifyvm", :id, "--vram", ""]

And to 4GB if raised to 128MB of video memory...

Don't know why there is such a strict relationship there between video card memory and the system memory...

AndrewDryga commented 7 years ago

Can you try to increase RAM manually in VirtualBox UI? And try to boot VM in GUI mode, so you would be able to see what exactly happens inside.

jboffel commented 7 years ago

Sorry actually I should have mention that I only ran it in GUI mode.

So basically if you don't adapt the vram accordingly with the ram as I mentioned above, simply the VM won't boot at all, or at least won't output any text after the VM start to boot...

I'm using Mac OS El Capitan with a mac book pro intel graphic chipset by the way.

I got the hint of trying to change the vram amount by looking at https://www.virtualbox.org/ticket/7002

AndrewDryga commented 7 years ago

@jboffel and how about to change it manually? Does it work? Do you have latest VirtualBox/Vagrant versions?

In general, this looks like a vagrant/virtualbox issue, because I know a loot of people that use more than 4Gb RAM in this box, without changing VRAM.

AndrewDryga commented 7 years ago

Ill close this issues since there is no additional feedback, and overall bug looks like an VB/vagrant issue.