In your specific case, I will assume that a Recovery HD did exist at some point in time, and is located right after GPT2. This is a table with such an assumption.
GPT 3 Start | GPT 3 Size | GPT 3 End | NTFS Start | Sector Offset | NTFS Size | NTFS End | Sector Offset (MB) |
138834720 | 1269536 | 140104256 | 196993024 | 56888768 | 290482176 | 487475199 | 27,778 |
Your sector offset is about 27GB, which will become unusable space. It requires a lot more terminal steps, but the first goal is to get your Windows installation up and running.
The following steps are specific to your case, and should not be used for similar issues without validation using Testdisk.
Leave your Testdisk display and start a new Terminal Window. If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify) in Steps 7 and 8.
Rebuild GPT3 using start/end offsets
- Sudo gdisk /dev/rdisk0
- P (print the full list of parts)
- D (delete)
- 3 (part 3 - special case)
- N (new part)
- 3 (part 3 - special case)
- 196993024 - Start offset in bytes (start point for Bootcamp part)
- +290482176 (Size offset as opposed to End offset)
- 0700 (Windows part type)
- P (print list of all parts just to see what changes will be made)
- W (Write the new GPT)
- Y (Yes! really write the new GPT)
This will delete and re-write the GPT partition info for /dev/disk0s3.
Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 8. Accept all other defaults that Gdisk offers.
- Sudo gdisk /dev/disk0
- P (Print list of parts)
- R (Recover)
- H (chooses Hybrid)
- Partitions numbers to be hybridized: 2 3
- Y (Good for GRUB question)
- N (part 2 boot flag)
- Y (part 3 boot flag make NTFS bootable partition - special case for missing Recovery HD)
- W (Write the new MBR)
- Y (Yes! write the new MBR)
- Reboot
Example Q&A for the second set of Gdisk steps is
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): Press Enter/Return
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default 07): Press Enter/Return
Set the bootable flag? (Y/N): Y
Test 1 - Does Bootcamp Volume show up in Finder?
Test 2 - Can you see files in Bootcamp Volume?
Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?
Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.