OSXRESERVED

atdhe

macrumors newbie
Original poster
Nov 5, 2015
4
1
Did someone find out how to Create a OSXRESERVED like partition on OSX?
The little Partition that Bootcamp creates for installing windows.
I need it so i can deploy that partition and put WinPE on it.

Thank You:D
 

Shirasaki

macrumors G3
May 16, 2015
9,985
3,870
EFI partition should be the partition you want.

And recovery partition, hmm.

You can create a new partition, and install boot loader inside it.
 

atdhe

macrumors newbie
Original poster
Nov 5, 2015
4
1
EFI partition should be the partition you want.

And recovery partition, hmm.

You can create a new partition, and install boot loader inside it.
But with the Bootcamp Assistant created Partition it works with WinPE, so there must be a chance to create a partition like this via Terminal. I just couldn't find out how, so i thought i'd ask here :D maybe someone figured it out how this works.
 

Shirasaki

macrumors G3
May 16, 2015
9,985
3,870
But with the Bootcamp Assistant created Partition it works with WinPE, so there must be a chance to create a partition like this via Terminal. I just couldn't find out how, so i thought i'd ask here :D maybe someone figured it out how this works.
:D I somewhat want to do the same, so I can try to install Windows PE for advanced maintenance tasks.
There must be a way. But unlike Windows, which we have bcdedit and integrated VHD support to make the life a hell lot easier, Mac OS X doesn't publicly let us know where is the boot volume.
I don't know how to view boot order under terminal, either. :(
 
  • Like
Reactions: atdhe

atdhe

macrumors newbie
Original poster
Nov 5, 2015
4
1
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 o_O)
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
 
  • Like
Reactions: Shirasaki

Shirasaki

macrumors G3
May 16, 2015
9,985
3,870
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 o_O)
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
Cool, guys. This is awesome.
Problem solved? :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.