Skip to content

Instantly share code, notes, and snippets.

@baseboxorg
baseboxorg / osx_bootable_iso.sh
Last active May 22, 2016 08:03 — forked from un33k/osx_bootable_iso.sh
Create bootable OSX ISO
#!/bin/bash
# Use with care ...
# -----------------------------------------
# Mountain Lion, Mavericks, Yosemite ..
OS="El Capitan"
IMG_SIZE=8g
BUILD_MNT=/tmp/"$OS"_Build
INSTALL_MNT=/tmp/"$OS"_Install
#!/usr/bin/env bash
# stop if an error occurs or undefined variable.
set -eu
# Make sure using latest Homebrew
brew update
# Update already-installed formula (takes too much time, I will do it manually later)
# upgrade

Mac OS X 10.10 Yosemite

While rebuilding I prefer as much verbose automation as possible.

2014-10-29 This gist is too big, see https://github.com/NoteHub/osx

Read this document through and fork/use the good parts to your preferences.

1. System preferences