i found a way how to create the partition.
You just normally create 2 new fat32 partitions 1 for Windows and 1 for WinPE
But when you create these Partitions OSX is creating a MBR for the partition so that its Hybrid MBR with GPT (something like that
)
When you successfully created those Partitions you need GPT fdisk (
http://sourceforge.net/projects/gptfdisk/) to create a new protective Mbr.
after you installed gptfdisk open up Terminal and give in these Commands
- gdisk /dev/diskX
- x //to enter expert mode
- n //to create a new protective mbr
- w //write changes
- Y //confirm
and then copy the WinPE Files to the WinPE partition and start from the partition.
Tested under Yosemite and El Capitan.
Here is what i did exactly:
diskutil resizeVolume /dev/disk0s2 500G fat32 WINDOWS 0b
diskutil resizeVolume /dev/disk0s2 498G fat32 WINPE 0b
cp -R /winpe/* /Volumes/WINPE/
gdisk /dev/disk0
x
n
w
Y