I've been dealing with this for a long time and I'm still struggling to find a cure.
After imaging all brand new MacBook Pros with a fresh 10.10.x image when I login to the computers with the admin account 9 times out of 10 the EFI partition is automatically mounted on the desktop. SOMETIMES repeated reboots will make it go away, but it will come back at some randomly selected boot up at a later time. After many months of troubleshooting, I have linked the presence of the EFI partition at startup to random Kernel Panics caused by FileVault. How do I know it's FileVault? Any and everything relating to FileVault can cause it to crash - including fdesetup commands, the simple act of enabling FileVault, or even clicking on the FileVault tab of the Security preference pane. There are other events that link it to FileVault. if I completely disable FileVault, I am guaranteed to never have a kernel panic. If I re-enable it, the kernel panics return. At first I thought FileVault was causing the EFI partition to be mounted somehow at bootup, but I removed the enabling of FileVault from the imaging and enrollment process. The EFI partition is present right after imaging. Every so often the EFI partition won't automatically mount and the computer remains completely stable for the duration, but if they reboot, there is a chance that it will come back. I have had SOME success in using Create Recovery Partition Installer.app with preventing the kernel panics but they do eventually return. The problem with that tool is that if the computer is in an unstable state, installing a new recovery partition will trigger a kernel panic. if I can boot and reboot and reboot over and over until I happen to catch it on a boot without the EFI partition mounting, then I can safely run it and it will work for weeks or even months, but the kernel panics WILL return.
I found this post that suggests running the recon command, but that has no effect on the EFI partition.
*further details: we are running JSS 9.65, the problems have persisted since 10.9.x, the kernel panics only happen on Macs with SSDs (we have slowly transitioned from HDD Macs to SSD Macs and don't have many left), HDD Macs occasionally mounted the EFI partition, but even when they did, they NEVER crashed. I've made and remade the images from the brand newest Macs that we got with all the updates etc. I've made sure that all the Macs have all the latest firmware/EFI/storage updates applied. I have noticed that the contents of the EFI/APPLE/ folders sometimes vary from mac to mac. Sometimes they are empty, sometimes they are filled with what look like firmware updates. However, since the EFI partition is read/only, I can't do anything with them.
I want to call Apple about this, but I can't get my hands on a Mac that is 100% reproducible. What usually happens is that I'll reboot a couple or few dozen times and the EFI partition will stay hidden and it'll stabilize. If the EFI partition auto-mounts and I just unmount it, it won't make a difference. The conditions exist that made it mount in the first place and the crashing will happen eventually.
Has anyone else dealt with this or anything even close? Every search I've done for FileVault kernel panics either go completely unsolved or promise "it'll be fixed in the next update" going back to Lion. The only true fix is to disable FileVault which we can't do because of HIPAA requirements. Every search I've done for EFI partition doesn't cover anything about this at all.




