Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TECK

macrumors 65816
Original poster
Nov 18, 2011
1,129
478
Running Monterey 21.1 with OC 0.7.7 and I get this error:
Code:
$ sudo nvram "recovery-boot-mode=unused"
Error setting variable - 'recovery-boot-mode': (iokit/common) not permitted.

Any idea what is causing this error message? Is for my learning experience, in older OS I don't experience this.
 
Last edited:

startergo

macrumors 603
Sep 20, 2018
5,022
2,283
It did not work for me either on MBP11,3, but:
Code:
sudo nvram internet-recovery-mode=RecoveryModeDisk && sudo reboot

worked. Of course the MBP has internet recovery. You can try it on the cMP.
 
  • Like
Reactions: TECK

startergo

macrumors 603
Sep 20, 2018
5,022
2,283
Running Monterey 21.1 with OC 0.7.7 and I get this error:
Code:
$ sudo nvram "recovery-boot-mode=unused"
Error setting variable - 'recovery-boot-mode': (iokit/common) not permitted.

Any idea what is causing this error message? Is for my learning experience, in older OS I don't experience this.
Make sure SIP is :
Code:
nvram csr-active-config
csr-active-config    %7f%0a%00%00
try csrutil disablein Recovery
Then it works.
 

DocBashir

macrumors newbie
May 11, 2022
8
0
csrutil disablein Recovery
Then it works.
Umm, This doesn't help because I'm trying to start up in Recovery. How do I run the command if I can't get into Recovery mode?
nvram recover-boot-mode=unused stopped working in Big Sur. Actually, the command fails with the Not permitted error.
 

startergo

macrumors 603
Sep 20, 2018
5,022
2,283

Umm, This doesn't help because I'm trying to start up in Recovery. How do I run the command if I can't get into Recovery mode?
nvram recover-boot-mode=unused stopped working in Big Sur. Actually, the command fails with the Not permitted error.
Try this:
Code:
   sudo nvram internet-recovery-mode=RecoveryModeDisk && sudo reboot
 

DocBashir

macrumors newbie
May 11, 2022
8
0
Interesting, the command succeeded but still the system booted to normal mode. I welcome any other suggestions you may have. I wonder if there is something I did wrong when I reinstalled the OS.
I will not be able to reply again for a few days.
 

startergo

macrumors 603
Sep 20, 2018
5,022
2,283
Interesting, the command succeeded but still the system booted to normal mode. I welcome any other suggestions you may have. I wonder if there is something I did wrong when I reinstalled the OS.
I will not be able to reply again for a few days.
  1. PollAppleHotKeys
    Type: plist boolean
    Failsafe: false
    Description: Enable modifier hotkey handling in the OpenCore picker.
    In addition to action hotkeys, which are partially described in the PickerMode section and are typically handled by Apple BDS, modifier keys handled by the operating system bootloader (boot.efi) also exist. These keys allow changing the behaviour of the operating system by providing different boot modes.
    On certain firmware, using modifier keys may be problematic due to driver incompatibilities. To workaround this problem, this option allows registering certain hotkeys in a more permissive manner from within the OpenCore picker. Such extensions include support for tapping on key combinations before selecting the boot item, and for reliable detection of the Shift key when selecting the boot item, in order to work around the fact that hotkeys which are continuously held during boot cannot be reliably detected on many PS/2 keyboards.
    This list of known modifier hotkeys includes:
    • CMD+C+MINUS — disable board compatibility checking.
    • CMD+K — boot release kernel, similar to kcsuffix=release.
    • CMD+S — single user mode.
    • CMD+S+MINUS — disable KASLR slide, requires disabled SIP.
    • CMD+V — verbose mode.
    • Shift+Enter, Shift+Index — safe mode, may be used in combination with CTRL+Enter, CTRL+Index.
Code:
Shift+Enter, Shift+Index — safe mode, may be used in combination with CTRL+Enter, CTRL+Index.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.