Skip to content

Instantly share code, notes, and snippets.

View DmZ's full-sized avatar

Dmitry Zamaruev DmZ

  • Ukraine, Kharkiv
View GitHub Profile
@DmZ
DmZ / makeOSXiso.sh
Created January 17, 2020 14:15 — forked from wrossmck/makeOSXiso.sh
Convert Downloaded El Capitan.app to bootable iso
#!/bin/bash
#taken from http://www.insanelymac.com/forum/topic/308533-how-to-create-a-bootable-el-capitan-iso-fo-vmware/
# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
# Create the ElCapitan Blank ISO Image of 7316mb with a Single Partition - Apple Partition Map
hdiutil create -o /tmp/ElCapitan.cdr -size 7316m -layout SPUD -fs HFS+J