Skip to content

Instantly share code, notes, and snippets.

@foxlet
Last active June 13, 2022 10:32
Show Gist options
  • Save foxlet/cbd83e7f21bf7efeee383059f2874b00 to your computer and use it in GitHub Desktop.
Save foxlet/cbd83e7f21bf7efeee383059f2874b00 to your computer and use it in GitHub Desktop.

Edit Downloaded Files

  1. Rename InstallESDDmg.pkg inside the macOS Install Data folder to InstallESD.dmg

  2. Edit InstallInfo.plist using WordPad (or another text editor) and remove the chunklistURL and chunklistid keys for InstallESD, and rename InstallESDDmg.pkg to InstallESD.dmg (example here)

  3. Rename the macOS Install Data folder to SharedSupport

Write macOS to USB

  1. Format the USB drive using Boot Disk Utility. Select DL and Save after DL for Clover Bootloader Source, Clover for Format Options, and a 200MB Boot Partition Size for Multi Partitioning

  2. Extract 4.hfs from \SharedSupport\BaseSystem.dmg --> save to it's local folder

  3. Restore 4.hfs to the USB's second partition ---> 2nd partition becomes bootable "OS X Base System"

Resize macOS USB Partition

Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed. Don't forget to apply the changes at the end...

Copy Additional Data

  1. Open TransMac and navigate to the HFS+ Volume/Install macOS High Sierra.app/Contents folder. Right click anywhere in the empty space on the RHS pane and select Copy Here.

  2. In the next stage, select the SharedSupport folder we created earlier as the Files and Folders to be copied to the Mac Volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment