So should i delete the newly created partition and do it again using /dev/rdisk0?
Use one to protect more partitions? (Y/N):
What should I do???
gpt show: /dev/rdisk0: mediasize=320072933376; sectorsize=512; blocks=625142448
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 625142447
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 446835552 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
447245192 1269544 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
448514736 78125000 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
526639736 847240
527486976 97654784 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
625141760 655
625142415 32 Sec GPT table
625142447 1 Sec GPT header
Disk: /dev/disk0 geometry: 38913/255/63 [625142448 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 625142447] <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
So first you're going to make backups of all important data, just in case. Then you're going to run gdisk in interactive mode:
Code:
sudo gdisk /dev/disk0
? gets you a list of commands
r will take you to the recovery menu
? lists recovery commands
h to create a new hybrid MBR
If you want to do it Apple's way, you can enter 2 3 4 to add all of your partitions to the MBR. Gdisk will then ask for each of those partitions if you want to accept the default partition type, which you do by just hitting return, and if you want to set the boot flag for that partition. You do not want the boot flag set for partitions 2 and 3, just for 4 - the Windows partition.
When done, you'll use the w command to write the new partition maps to disk.
You created a new hybrid mbr then. That's good!Sorry Quackers, I been very busy these past 2 days. Today I managed to fix my problem by following Murphychris previous instruction.
So, in my case I entered "2 4 5". Now every things works as it should be. I also able to access my Macintosh HD and my new partition from the windows 8 bootcamp.
Thank you for all the help. Cheers..![]()