1. Create your Windows partition. (these steps can also be done in disk management)
- Run CMD as an administrator (you must right click on CMD and run as administrator, not just be logged in as an administrator)
- In CMD, run diskpart
- list disk
- select disk <#>
- clean (! will remove all current partitions !)
- create partition primary size=<n> (MB)
- format fs=ntfs quick
- assign letter=<L> (drive letter you want)
- create partition primary (this will be the 2nd partition for OSX with the remaining space on the disk)
- After the volume is visible in the OS, you can copy your bootloader files over etc.
2. Mac partition. You'll need to remove your drive from Windows, and plug it in to a Mac.
- Open the Disk Utility, you'll see the drive with two partitions. The first partition is the NTFS one that we just made, and the second is the partition that we created, but haven't formatted.
- Locate the InstallESD.dmg file for OS 10.8. If you have the installer, it is located inside package contents in /Contents/SharedSupport/
- In the Disk Utility, select File > Open Disk Image, and select the InstallESD.dmg file
- Mount InstallESD by double clicking on it inside of the Disk Utility
- Select the mounted image (Mac OSX Install ESD), and click on the Restore tab
- Drag the 2nd partition to the Destination, and click the Restore button
- After the image has been restored, you can copy additional files to the partition
- Remove the device and put it back in a windows machine.
- In the disk management utility, or diskpart, make the partition active
- In CMD: list disk, select disk <#>, select partition <#>, active
|Windows Disk Management|
|OSX Disk Utility|