Skip to content

Instantly share code, notes, and snippets.

@gerrior
gerrior / sierra_dmg_to_iso.sh
Last active Jul 28, 2017 — forked from julianxhokaxhiu/create-iso.sh
Bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
View sierra_dmg_to_iso.sh
#!/bin/bash
#
# Bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Save as a text file; open terminal; enter the command line: sh sierra_bootable.sh
#
# Used on "macOS Sierra 10.12.6" build 16G29
@gerrior
gerrior / highsierra_bootable.sh
Last active May 13, 2018 — forked from agentsim/highsierra_bootable.sh
Create bootable ISO from HighSierra Installer
View highsierra_bootable.sh
#!/bin/bash
#
# Save as a text file; open terminal; enter the command line: sh highsierra_bootable.sh
#
# Used on "Install macOS High Sierra" version 10.13.3
#
# This ISO was used to create a fresh Virtual Machine in vSphere
hdiutil create -o /tmp/HighSierra.cdr -size 5530m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build