Thursday, 1 January 2015

Add an OS X Installer for your E2B drive using just Windows

If you only have a Windows system, you can prepare a USB Flash drive by using RMPrepUSB - File->Drive and specifying the Yosemite.dmg file as the source. Then check that the USB drive now contains a Type AF partition by using RMPrepUSB - Drive Info - 0  to list the partitions - e.g.

Partition 1   SIZE=5235.382MiB   Type: AF   *ACTIVE*
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 1 (00000001) SIZE (LBA) = 10,722,062 (00A39B0E) [End=10,722,062]

Partition 2   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

Partition 3   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

Partition 4   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

P1   Start=1 (512 bytes) End=10,722,062 (5,489,695,744 bytes)

Once the USB flash drive has been written, you can now use RMPrepUSB - Drive->File to make a .HFSPTN file (start = P1 - or whatever partition number the AF partition is).

Later versions of E2B support the .dmg file extension - so just copy the .dmg bootable single-partition image file over to the E2B drive and boot!

Another alternative is to use 7Zip to extract the .img file from the .dmg file. Then just rename the extracted file to a .HFSPTN file.

See the previous blog for more details.