Q: Bootcamp partition does not work after upgrade to El Capitan - please help!
Hi!
I cannot for the life of me get my Bootcamp partition to boot!
It is discoverable using Diskutil, but since I bought a new Macbook Pro (Retina, 13 inch, Early 2015) and was forced into Yosemite, I cannot get Bootcamp to work.
I have since upgraded to El Capitan.
I have been following vaious posts (Boot Camp disappeared after El Capitan update) and have followed instructions to resize the partition to what Testdisk was showing (MS Data 854654976 977104888 122449913):
sudo gdisk /dev/rdisk0
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/rdisk0: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): *HIDDEN*
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 745 sectors (372.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 853384831 406.7 GiB AF05 Customer
3 853384832 854654367 619.9 MiB AB00 Recovery HD
4 854654976 977104895 58.4 GiB 0700 WINDOWS
Command (? for help): D
Partition number (1-4): 4
Command (? for help): N
Partition number (4-128, default 4): 4
First sector (34-977105026, default = 854654368) or {+-}size{KMGTP}: 854654976
Last sector (854654976-977105026, default = 977105026) or {+-}size{KMGTP}: +122449913
Current type is 'Apple HFS/HFS+'
Hex code or GUID (L to show codes, Enter = AF00): 0700
Changed type of partition to 'Microsoft basic data'
Command (? for help): P
Disk /dev/rdisk0: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): *HIDDEN*
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 752 sectors (376.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 853384831 406.7 GiB AF05 Customer
3 853384832 854654367 619.9 MiB AB00 Recovery HD
4 854654976 977104888 58.4 GiB 0700 Microsoft basic data
Command (? for help): W
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/rdisk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.
And then followed instructions to make Bootable, however I am still having no joy.
sudo gdisk /dev/rdisk0
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/rdisk0: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): *HIDDEN*
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 977105026
Partitions will be aligned on 8-sector boundaries
Total free space is 752 sectors (376.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 853384831 406.7 GiB AF05 Customer
3 853384832 854654367 619.9 MiB AB00 Recovery HD
4 854654976 977104888 58.4 GiB 0700 Microsoft basic data
Command (? for help): R
Recovery/transformation command (? for help): O
Disk size is 977105060 sectors (465.9 GiB)
MBR disk identifier: 0x028A47A7
MBR partitions:
Number Boot Start Sector End Sector Status Code
1 1 409639 primary 0xEE
2 409640 853384831 primary 0xAC
3 853384832 854654367 primary 0xAB
Recovery/transformation command (? for help): H
WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.
Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 2 3 4
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):
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default AB):
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default 07):
Set the bootable flag? (Y/N): Y
Recovery/transformation command (? for help): O
Disk size is 977105060 sectors (465.9 GiB)
MBR disk identifier: 0x028A47A7
MBR partitions:
Number Boot Start Sector End Sector Status Code
1 1 409639 primary 0xEE
2 409640 853384831 primary 0xAF
3 853384832 854654367 primary 0xAB
4 * 854654976 977104888 primary 0x07
Recovery/transformation command (? for help): W
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/rdisk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.
Now (after above) Testdisk:
SIP is still disabled. Bootcamp is UNMOUNTED using diskutil.
Please let me know what I am missing here! Hopefully something simple...
Please also let me know if I have posted anything here that puts my information as a security risk.
Thanks
MV
MacBook Pro with Retina display, OS X El Capitan (10.11.4)
Posted on Jun 30, 2016 7:41 AM



