Q: Mac partition corrupted after creating a new partition
I have a MacBook Pro Retina 13" late 2013 with the last version of Yosemite installed (10.10.4) and Windows 8.1 in BootCamp and everything worked well so far.
One day I needed more space in my Windows so I decided to enlarge the partition, so (in Mac OS) I used the Disk Utility to resize the partition of Mac creating free allocable space. Everything fine so far, both OS worked well.
The problem started here, when I allocated the free space created before.
Now the system doesn't recognize my Mac partition anymore.
When I turn on my laptop it can only run Windows or the EFI Boot.
I've tryed to enter EFI to solve the problem with Disk Utility but I can't solve it with "Repair Disk".
I post some screenshot to make it clear. (Sorry they're in italian)
Obviously the problem is in disk0s2
Apparently the problem is that now disk0s2 is in MS-DOS (FAT) when it should be Mac file system.
If I press on "Repair disk" it shows the error above and says something like: The exit error code in file system check is 8.
Is there a way to repair it? I really don't want to lose my data reinstalling OS X.
Thanks for your help.
I hope I've been clean enough in describing my problem.
MacBook Pro with Retina display, OS X Yosemite (10.10.4)
Posted on Jul 22, 2015 1:41 PM
Your Windows GPT Fdisk should look like this.
You need to start a CMD Window with Admin privileges. Please see the README.Windows, if necessary.
In the CMD Window, go to the folder where Gdisk is installed/downloaded. You can run gdisk64.exe using
gdisk64.exe 0:
"0:" tells Gdisk to use the first disk which is numbered 0. There is also a \\physicaldrive\0: syntax, but it is not needed.
Once in Gdisk...
Type p to print the current GPT.
Type t to change the partition type.
Type 2 to indicate which partition you want to change.
Use l to list codes, if necessary.
My example shows AF05 which is Apple CoreStorage. In your case, it should be AF00. Please verify that the value entered is appropriate for your OS X entry.
Type p.
Type w to write.
Type y to confirm.
Reboot, if necessary and test.
You also have the Recovery HD as Apple_HFS, but it should be Apple Boot (AB00). The same steps above can be re-used to change the type for partition 3 to be AB00 as you can see on my screen example.
Posted on Jul 22, 2015 4:05 PM



