Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
Hi. I have macOS Monterey 12.5.1.
I could not access etc file from the Recovery Mode terminal, so I made some adjustments to the original algorithm. The major difference is that I do the changes in the hosts file in normal mode.
Reboot to Recovery Mode by holding
command-R
during restartOpen Utilities → Terminal and type
command-R
during restart and type