Q: Bootcamp gone after partitioning
I've looked throughRe: Repairing Boot Camp after creating new partition and can't seem to yield anything when following many of the steps given. I have very little experience with Mac so perhaps I didn't follow some steps properly.
I have a Macbook Pro running 10.9.5 OS. I partitioned my drive using the Mac tool within OS and a Windows tool which I can't remember the name of on the MS side. I didn't notice any issues until I left Windows for OS and tried rebooting into Windows again. The Bootcamp option was gone:
At this point I'd be happy just to get the data off the Windows side and will buy a dedicated work computer once complete. If someone could offer some guidance it would be appreciated
Here the result of the basic commands. Thanks in advance.
dons-mbp:~ donharward$ sudo gdisk /dev/disk0
Password:
GPT fdisk (gdisk) version 1.0.1
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 928B19BE-1A86-4B16-A275-7B8BD168BA34
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 115635173 sectors (55.1 GiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 236613727 112.6 GiB AF00 Untitled
3 236613728 237883263 619.9 MiB AB00 Recovery HD
4 353517568 490233855 65.2 GiB 0700 BOOTCAMP
Command (? for help):
iPhone 4S, iOS 5.0.1
Posted on Nov 10, 2015 7:57 AM
You need to use the following steps. 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. Please notice the'+' sign in step 8 (this is called offset notation). The text in parentheses is for informational purpose to describe the action being taken. Gdisk has one-character commands except when entering numbers.
Rebuild GPT4 using start/end offsets
- Sudo gdisk /dev/rdisk0
- P (print the full list of parts)
- D (delete)
- 4 (part 4)
- N (new part)
- 4 (part 4)
- 237883392 ( - Start offset in sectors or the start point for Bootcamp part)
- +251428864 ( - 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/disk0s4.
Posted on Nov 10, 2015 3:45 PM

