MacBook Pro not booting, lost partition I have a big issue with my MacBook Pro (OS X 10.10.4). I tried to enable yesterday the TRIM on my SSD disk (a Crucial I replaced myself). Everything was working fine since months but after restarting the laptop because of a Mac update, it got stuck at boot.

I have started on the recovery partition. I have tried all the Terminal commands to revert the TRIM (quite easy: touch, rm, cp,...) but I realized that my disk named "MACBOOK" was not even mounted in /Volumes.
So I opened the disk utility and I tried to mount the disk manually but that failed. I checked the disk, it said it had to be fixed. So I tried to fix it, but this failed too.

At this point, I have booted on Disk Warrior that detected an error on the disk: "Invalid record count".  Disk Warrior tried to fix it but it went worse:
the "MACBOOK" partition has disappeared and a new partition named "Untitled" has appeared. The disk can now be mounted though but seems empty.

So I ran to buy a hard drive dock. I took off the disk from my laptop and plugged it into my brand new dock on my iMac. The disk mounts properly but it is empty.
I opened the disk utility and I can see the disk. When displaying all partitions in the Debug menu, I can see this:



So I see the "Untitled" but also the "MACBOOK". So the partition is still here somewhere.
When I click on "Untitled", the disk utility says:
Capacity: 510Go
Free: 498Go
Used: 11,98Go
So clearly, Disk Warrior did something nasty like deleting the index table or such as the disk is now considered as empty.

Now, I am using a disaster data recovery tool. It finds thousands of files so the data is still on the disk. But files are not properly named. Like "file00001.png", "file00002.png". That will be very fun to clean all this mess.

I must precise that FileVault is NOT activated on the disk. My mac was running on Yosemite latest version. The ideal would be to fix the permission but at least I'd love to access the disk and get all my folders and file names back. I have a quite recent backup (3 months), I just need to get what has changed in the meantime. I will reinstall afterwards.

I am really getting crazy so any idea would be really appreciated.

Thanks a lot
What you currently are doing is correct. In this case it is a good idea to quickly restore EVERY file you can find through a file recovery program. You are very lucky that the data was not completely erased. DO NOT WRITE anything else to the disc, as you risk loosing more data. 

In my personal experience restoring lost data, I usually:
1. Backup ALL Data I can recover to an External HDD.
2. Restore from a Time Machine Backup.
3. Look for missing Data.
4. Copy from External HDD

Which is basically what you said above. There is no other way to recover all the data quickly. Good luck.