OSX Yosemite cannot boot when TRIM is enabled on third-party SSD

After upgrading my MBP to OSX Yosemite and enabling TRIM, the computer cannot boot into the system after restart. It stuck with a no-entry sign.

You can solve this issue by following instructions from http://www.cindori.org/trim-in-os-x-yosemite/

Boot your Mac in Recovery Mode by holding Cmd-R during boot

Open the Terminal from the menu bar

Run these commands, replacing YourDisk with the name of your Mac disk

rm -rf /Volumes/YourDisk/System/Library/Extensions/IOAHCIFamily.kext
cp -r /System/Library/Extensions/IOAHCIFamily.kext /Volumes/YourDisk/System/Library/Extensions/IOAHCIFamily.kext
touch /Volumes/YourDisk/System/Library/Extensions
kextcache -u /Volumes/YourDisk

For me, I have to first use the disk utility to unlock my SSD first since I have Filevault enabled, otherwise the first command above will complain about “readonly” files.

Since TRIM is very helpful for SSDs, it’s encouraged to have it enabled for better performance. You can use Trim Enabler v3.2.5 and above without issues. But note that it disables kext signing on your mac, “it still leaves you with the same amount of security as in OS X Mavericks, where the kext signing requirement didn’t exist”. (http://www.cindori.org/update-on-trim-in-yosemite/)

2 thoughts on “OSX Yosemite cannot boot when TRIM is enabled on third-party SSD

  1. This has been very helpful. I installed Yosemite yesterday and it seemed to be working fine.

    Then, when I tried to turn my MacBook Pro back on again later, the apple logo appeared with a loading bar, which was followed by the “no entry” sign. It just stops there.

    I had no issue getting into Recovery Mode, and it says that the disk is fine, so I know that the disk is not failing.

    So I tried typing in the commands you gave, but I can’t make it past the second line. When I type: “cp -r /System/Library/Extensions/IOAHCFamily.kext”, a message comes up saying “usage: cp [-R [H | -L | -P]] [-fi…. and so on, I’m not going to list the entire thing here. I am guessing that this has something to do with spaces or formatting, am I making some mistake? I wish I could get past this part of the command. Any suggestions?

    • Hi Joseph, the second command should be:

      cp -r /System/Library/Extensions/IOAHCIFamily.kext /Volumes/YourDisk/System/Library/Extensions/IOAHCIFamily.kext

      This is one command, you entered only the first part. Make sure you enter the whole command in one line in Terminal. Good luck!

Leave a Reply

Your email address will not be published.