geerlingguy / macos-virtualbox-vm

Instructions and script to help you create a VirtualBox VM running macOS.
MIT License
2.55k stars 314 forks source link

Fix Monterey support #88

Closed zmizik closed 2 years ago

zmizik commented 2 years ago

Added support for Monterey. Tested with 12.2.1. Source merged with BigSur support.

geerlingguy commented 2 years ago

If someone else could review and test this, and confirm it's working for them, I'd be happy to merge. There are a few little code style changes that would be better off left alone (e.g. adding spaces after comments a couple places, removing or adding newlines elsewhere).

jbeard6 commented 2 years ago

I used this to create an installer ISO for macOS Monterey. I used the installer in Virtualbox, which seems to install successfully, but is failing to actually start the VM. I'm still researching that, but I don't think it's related to these changes, FWIW.

jbeard6 commented 2 years ago

It turns out, I missed a step in the README when setting up my test VM (VBoxManage modifyvm VM_NAME --cpuidset 00000001 000306a9 00020800 80000201 178bfbff). Starting over following the steps exactly worked.

I'd be happy to take a swag at re-building this pull request without the spurious formatting changes if you'd be more amenable to merging it that way.

zmizik commented 2 years ago

Frankly, I didn't pay attention to formatting. I took a fork from ansonhoyte and simply added new filters. Feel free to reformat the code.

geerlingguy commented 2 years ago

See #89