When I sat in front of my computer this morning, I was greeted by an ugly sight. Sometime during the night, there was a power outage, and my UPS and its Mac software shut down my old Mac Pro (this has happened in the past; for instance, when Yosemite was installed on the computer, and it's always worked fine). When the electricity came back, the computer tried to reboot, but, alas, it didn't work. A very bad-quality photo of part of the screen is as follows:
My El Capitan partition was created by installing the system on top of my previous Yosemite partition. The installer was created as indicated in message #19 of this thread. Both the Installer and the El Capitan partition (in addition to the Recovery HD partition) use Pike's "black" boot.efi in the repository. In addition, the Installer's /Library/Preferences/SystemConfiguration/com.apple.Boot.plist was altered when I first created it with the explicit path to the prelinked kernel, as otherwise it wouldn't boot on my old Mac Pro.
Now, this is the second time this ugly kernel panic has appeared when rebooting the Mac. This time I tried to follow Pike's advice to fix it. Instead of using Yosemite, which I don't have anymore, I used the Installer disk again and, from Terminal, I entered:
touch /Volumes/Macintosh\ HD/System/Library/Extensions [sudo isn't necessary from the Installer's Terminal, nor does it work]
That didn't do anything, as trying to reboot to El Capitan failed again with the same kernel panic. The first and only time I tried to boot from the modified El Capitan Recovery HD, it showed the same panic, so I don't actually know if the Recovery HD is flawed by itself (like being unable to find the kernel cache or something), or it simply fails for another reason and then tries to boot the regular El Capitan partition, which is flawed by an unknown reason (that is, unknown to me).
The first time I saw this panic, I fiddled with various boot-up settings, such as setting nvram boot-args, etcetera, but none of the attempts were successful. The only way out of this predicament I know for now is to reinstall El Capitan (using the custom-made Installer). Letting it finish and then, reapplying Pike's boot.efi using the Terminal successfully boots El Capitan. Does anyone have an idea how to troubleshoot this situation?
The only thing I've come up with is that the "official" boot.efi in Pike's repository is "broken" (as far as my computer is concerned) and, as a result of its "brokenness" the Installer creates an El Capitan partition that will only boot correctly the first time after creation, but the partition itself will be unbootable after shutting down the computer. How is that possible?