Friday, December 29, 2017

Install rEFInd on macOS High Sierra when System Integrity Protection (SIP) is enabled

# Download rEFInd from Sourceforge.net
$ curl -s -L http://sourceforge.net/projects/refind/files/0.11.2/refind-bin-0.11.2.zip -o refind.zip

# unpack downloaded file
$ unzip -q refind.zip

# Change directory
$ cd refind-bin-0.11.2

# Try installing rEFInd
$ sudo ./refind-install
ShimSource is none
Installing rEFInd on OS X....
Installing rEFInd to the partition mounted at /Volumes/ESP

**** ALERT: SIP ENABLED! ****

rEFInd cannot be installed because System Integrity Protection (SIP) seems
to be enabled! You must install rEFInd from your Recovery installation or
from another OS. To install from the Recovery system:

  1. Reboot
  2. Hold down Command+R as the chime sounds
  3. When the OS has booted, select Utilities->Terminal
  4. Change to this directory with the 'cd' command; it will probably be under
     /Volumes/Macintosh HD/Users/ericnoel/refind-bin-0.11.2
  5. Re-run this script.

If you believe SIP is NOT enabled, you may attempt an installation anyhow,
but it may fail.

For more on this subject, see http://www.rodsbooks.com/refind/sip.html

Do you want to attempt installation (Y/N)? y
Copied rEFInd binary files

Copying sample configuration file as refind.conf; edit this file to configure
rEFInd.

Could not set boot device property: 0xe00002bc


# If alerted with SIP, then try disabling SIP

# Reboot computer
# At startup chime, hold down Command+R key combination. The computer should turn into Recovery mode.
# Access Utilities->Terminal from the macOS Recovery window menu bar. 

# From Terminal consolel. Disable SIP
# csrutil disable

# Restart computer

# Change directory to the extracted rEFInd folder

# Install rEFInd
$ sudo ./refind-install
ShimSource is none
Installing rEFInd on OS X....
Installing rEFInd to the partition mounted at /Volumes/ESP
Found rEFInd installation in /Volumes/ESP/EFI/refind; upgrading it.
Copied rEFInd binary files

Notice: Backed up existing icons directory as icons-backup.
Existing refind.conf file found; copying sample file as refind.conf-sample
to avoid overwriting your customizations.


# Reboot to recovery and enable back SIP

# csrutil enable










3 comments:

Unknown said...

After all steps successful, boot loader won't work. OS X starts normally

Unknown said...

same boat

Anonymous said...

Thank you, I do as the step you list and successed.

FIY

1. I use High Sierra
2. I try refind 0.11.4 first, not ok
3. Then I switch to refind 0.11.2, and redo the steps as you list, ok