I had the following problem with my internal HD. When I started my mac, after the logo loaded the screen went black and an error panel with the message: "Unapproved caller. SecurityAgent may only be invoked by Apple software" showed. I've had HD problems before so I have an external HD with Mac OS X installed. I used it to boot Mac OS (with no problems) and used Disk utility to repair the ESP (disk0s1 partition of my internal HD), but the partition was deleted in this process. My internal HD (disk0) now looks like this:
I have a backup of my internalHD on disk1, so I could just delete the disk and reinstall everything but I'm curious if the HD can be restored without doing this, so no worries about data loss if the attempt fails.
My thoughts on how to solve this are to implement the following procedure:
- Copy the ESP from disk1, and add it to a new partition on disk0 (I don't know if this can be done simultaneously, so the newly created partition has the exact size of the ESP, or if I need to create a partition and then copy the ESP into it).
- Move the newly created partition from disk0s3 to disk0s1, and then disk0s3 (internal HD) to disk0s2.
I don't know if this will solve the problem, of it can be done, and if so, how to do it.
Any suggestions are welcome!