Sorted by: 1. Note: I didn't test this but it has a chance of actually working ;) create a runnable script. go to Preferences -> "Users and Groups" -> Your user -> "Login Items" tab. Drag and drop your script into the list of items to run. reboot. Share. Improve this answer.
51. You can do that using the following command: sudo nvram "recovery-boot-mode=unused" sudo reboot. This sets a firmware variable in nvram indicating that you want to start in Recovery mode on the next boot, and then reboots the machine. When done in Recovery mode, run the following from the Terminal in Recovery mode: nvram -d recovery-bootCkKpBO.