I did not show hidden files on that volume, and only saw the first one you listed (./com.apple.recovery.boot/boot.efi).There are two boot.efi files in the Recovery partition:
./com.apple.recovery.boot/boot.efi
./System/Library/CoreServices/boot.efi
Do we need to replace both ?
Thanks
Jean
There are two boot.efi files in the Recovery partition:
./com.apple.recovery.boot/boot.efi
./System/Library/CoreServices/boot.efi
Do we need to replace both ?
Thanks
Jean
I didn't see one either, I assumed it was possibly a hidden System folder, but it looks like the ./com.apple.recovery.boot/boot.efi is the only by your screenshot.
It's late.....
I'm tired.....
I've probably jumped to all sorts of inaccurate assumptions!
My previous posts about using Boot64 or CapitanPikeFix (after modifying the SIP exclusion file) are redundant for 10.11.2.
Sorry folks. It looks like 10.11.1 must have updated the system_installd, which now has its own version of SIP. So when the installer takes over, SIP is effectively reset and re-enabled. This will stop Boot64 or CapitanPikeFix from replacing the Apple boot.efi files automatically. We will have to do it manually for now...
Code:Dec 8 23:52:14 admins-Mac-Pro system_installd[483]: rootless_apply: unrestricted file at /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager-SystemSoftware/543E6EEC-F966-4F54-8650-F7C86DB3A2CC.activeSandbox/Root/System/DeferredInstall/Root Dec 8 23:53:02 admins-Mac-Pro com.apple.xpc.launchd[1] (com.apple.rootless.init): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Appears as part of the installer setup
When Boot64 sees the changes to the boot.efi files, it tries to replace them but SIP is back in force...
Code:Dec 8 23:53:07 admins-Mac-Pro.local ensureBoot.sh: Not using the grey boot.efi. Switching over... cp: /System/Library/CoreServices/boot.efi: Operation not permitted cp: /usr/standalone/i386/boot.efi: Operation not permitted
It's probably because I hadn't edited the path file after updating to 10.11.1. I'll go check in the morning.
Either way it looks like there's currently a need to boot from another partition after each update to either replace the boot.efi files manually, or to re-edit the path file!
I'm going to go to sleep now...
I'll be more methodical in the morning....
============= sleep, loverly sleep ===========
I have realised that I overlooked a step before I ran the 10.11.2 update. I forgot to re-edit the paths file after the 10.11.1 update. It needed to be re-edited because 10.11.1 overwrites it with the Apple version. My mistake sorry.
But it did get me to thinking.... Maybe I could adapt my Boot64 tools to take care of that too.
I have some good news and some bad news. First the good news. I have adapted both pikify3.1 and Boot64 to take care of the boot.efi files and the paths file. I will upload new versions later, pikify3.1.v5 and Boot64.v2... (done, see post #1390 and post #1391)
I tested them:
All well and good. Except......
- Created an installer using pikify3.1.v5
- Wiped a spare disk
- Installed El Capitan 10.11
- Booted okay into the new disk ( pikify did its thing )
- Installed Boot64.v2
- Upgraded to 10.11.1 using the Apple DMG from Support Downloads
- Booted okay ( Boot64 did its thing )
- Upgraded to 10.11.2 from the App Store
- Booted okay ( Boot64 did its thing a second time )
The bad news, it looks to me like the /S/L/C/boot.efi file is still protected by SIP in 10.11.2.
I'm still investigating, all the mods seem to be in place, so I'm wondering if that efi file is now "hard coded" into SIP in some way.
I would be interested in feedback from others, if you could verify that /S/L/C/boot.efi is protected on your systems at 10.11.2?
What is an easy to tell if boot.efi is protected? I do have El Capitan 10.11.2 installed.
Regards,
donjames
Open a Terminal, type
touch /System/Library/CoreServices/boot.efi
If it is under SIP protection you will get an 'operation not permitted' message. If there's no message then it's not SIP protected. You can also simply try to overwrite it with a fresh copy of Pike's boot.efi file. Also you can list the directory typing
ls -lO /System/Library/CoreServices/
(the switches are minus, lowercase letter l (ell), uppercase letter o (oh))
If you see the word restricted on the line, then the file is protected
.Trashes
.fseventsd
.metadata_never_index
com.apple.recovery.boot
Follow these instructions if you have just installed El Capitan, or are already using El Capitan and want automatically put the modifications in place during updates.
============== Edit ==================
This has been tested from initial install 10.11 to 10.11.1, and from 10.11.1 to 10.11.2.
There may be an issue once at 10.11.2 which might prevent a smooth upgrade to 10.11.3 when it arrives - under investigation
For now it should work well....
===================================
While Pike is recuperating (take your time Pike ), I have figured out how to set up our working El-Capitan installs so that they will survive the Apple update mechanisms. You will need to install your choice of "pike yos fix" the updated version now called CapitanPikeFix is at post #1253 (courtesy of @666sheep) , or my very own Boot64 stuff, they both pretty much do the same thing. My Boot64 stuff installs a Launch Daemon that watches the boot.efi files, if they get changed (by the Apple update) it simply puts the Pike copies back!
"Ah, but SIP stops them working!" I hear you cry. True!
But, we can exclude the boot.efi files from SIP - here's how:
I will assume your working El-Capitan is on the hard disk named Macintosh HD - change it to suit
- You don't need to do steps 1, 2, 3, and 4 if you have just used pikify3.1 (v3 or higher) to install El Capitan From the post above because it's already done for you)
I don't claim to have discovered this fix. I'm simply good at using search engines, and then realising how this fits together. The credit goes to the Hackintosh community again. See http://www.idelta.info/archives/sip-rootless-internal-in-el-capitan/
- Boot off another partition, I use the Recovery partition.
- Open a Terminal
Code:chflags nouchg /Volumes/Macintosh\ HD/System/Library/CoreServices/boot.efi echo "/System/Library/CoreServices/boot.efi" >> /Volumes/Macintosh\ HD/System/Library/Sandbox/Compatibility.bundle/Contents/Resources/paths echo "/usr/standalone/i386/boot.efi" >> /Volumes/Macintosh\ HD/System/Library/Sandbox/Compatibility.bundle/Contents/Resources/paths echo "/System/Library/Sandbox/Compatibility.bundle/Contents/Resources/paths" >> /Volumes/Macintosh\ HD/System/Library/Sandbox/Compatibility.bundle/Contents/Resources/paths
- Reboot from your other partition back into your normal El Capitan disk (Macintosh HD)
- Install CapitanPikeFix, or my Boot64 (attached)
- If you are going to install my Boot64, download the zip file below, unzip it, and double-click it, follow the installer prompts (you might need to allow it with Gatekeeper - if you get a "can't install" message, try opening System Preferences > Security & Privacy > General, look for the "Open anyway" button). If that doesn't work, choose 'Anywhere' from the options and try again... (Don't forget to put this option back to your preference after Boot64 is installed!)
- Sit back and enjoy El-Capitan
I've tested this with a clean install of El Capitan 10.11 and successfully installed the 10.11.1 update from the App Store, and from a clean install using the 10.11.1 downloadable update.
I will modify my pikify3.1 script bundle with this mod already in. Look out for pikify3.1.v3.zip at post #1390 ...
===================== Version 2 ============================
V2 includes mods to watch the SIP/Sandbox paths file in addition to the boot.efi files
Guys,
Please forgive me for being lazy! I've been away and I see there have been some exciting developments!!
Could someone, please direct me to the latest method for installing El Cap for the first time from Yosemite??
I'm currently at 10.10.5 on my MP 2.66, 1,1 to 2,1.
Much appreciated!!
Guys,
Please forgive me for being lazy! I've been away and I see there have been some exciting developments!!
Could someone, please direct me to the latest method for installing El Cap for the first time from Yosemite??
I'm currently at 10.10.5 on my MP 2.66, 1,1 to 2,1.
Much appreciated!!
He wants to upgrade from Yosemite, though.Follow the instructions in posts 1390 and 1391.
Make sure you have a good backup.Thank you!