How to go back to hybrid-MBR?
Alot of progress! But, How do I switch the MBR back to the hybrid-style??
I used testdisk to manually restore the BOOTCAMP partition on the GPT. I also had to use gdisk to set the correct partition types and labels. BOOTCAMP partition now shows in mac's diskutil!!
However, testdisk took the MBR table from a hybrid-MBR to a protective-MBR (see here) Windows does not know how to read from GPT's or protective-MBR's
Alot of progress! But, How do I switch the MBR back to the hybrid-style??
I used testdisk to manually restore the BOOTCAMP partition on the GPT. I also had to use gdisk to set the correct partition types and labels. BOOTCAMP partition now shows in mac's diskutil!!
However, testdisk took the MBR table from a hybrid-MBR to a protective-MBR (see here) Windows does not know how to read from GPT's or protective-MBR's
Code:
$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 1023 254 63 [ 1 - 977105059] <Unknown ID>
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Code:
$ sudo gpt -r -vv show /dev/rdisk0
Password:
gpt show: /dev/rdisk0: mediasize=500277790720; sectorsize=512; blocks=977105060
gpt show: /dev/rdisk0: PMBR at sector 0
gpt show: /dev/rdisk0: Pri GPT at sector 1
gpt show: /dev/rdisk0: Sec GPT at sector 977105059
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 822156848 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
822566488 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
823836024 648
823836672 153268217 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
977104889 138
977105027 32 Sec GPT table
977105059 1 Sec GPT header