Bootable external drive for Windows & OSX
This is how I created a bootable external drive with two partitions: One for WDS/Ghost etc. and the other for OSX install disk. For my drive, I've got a custom WinPE startup OS, and the OS 10.8 install image. The end result is an external drive that I can use to image or backup almost any computer that I come across. Below are the steps that I took to create the drive, but I'll cut to what I got hung up on: The Windows partition must be Active or your machine won't boot to it. Restoring the OSX image will remove this from the NTFS partition.
1. Create your Windows partition. (these steps can also be done in disk management)
2. Mac partition. You'll need to remove your drive from Windows, and plug it in to a Mac.
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)
- active
- 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)
- exit
- 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 |
Comments
Post a Comment