KhaosT / MacVM

macOS VM for Apple Silicon using Virtualization API
Apache License 2.0
1.31k stars 95 forks source link

How to disable SIP #15

Closed Count-Count closed 2 years ago

Count-Count commented 2 years ago

I haven't found a way to get the VM into recovery mode so that I can disable SIP. Anyone any idea?

BTW: Great work and thank you, @KhaosT!!!

KhaosT commented 2 years ago

There is no public way to do this. In order to boot into recoveryOS, you'll need to invoke the private API to pass in the special configuration at the boot time.

Here are the API headers I found. https://gist.github.com/KhaosT/8167170d1452daec1ba292e37e5768c8

Count-Count commented 2 years ago

Works great, thanks!

mcnahum commented 2 years ago

Any chance to have a button added on the UI to boot from recovery?

jankais3r commented 2 years ago

Works great, thanks!

Hi, could you please elaborate how you managed to boot into Recovery in MacVM to disable SIP?