Skip to content

Instantly share code, notes, and snippets.

@mauromarano
Created January 8, 2014 14:33
Show Gist options
  • Save mauromarano/8317670 to your computer and use it in GitHub Desktop.
Save mauromarano/8317670 to your computer and use it in GitHub Desktop.
Makes a mac osx bootable USB dongle
clear
echo '
____ ______ __ __ __ __ __ __ _______ ____
/ __ \/ ___/ |/ / / /_ ____ ____ / /_____ _/ /_ / /__ / / / / ___// __ )
/ / / /\__ \| / / __ \/ __ \/ __ \/ __/ __ `/ __ \/ / _ \ / / / /\__ \/ __ |
/ /_/ /___/ / | / /_/ / /_/ / /_/ / /_/ /_/ / /_/ / / __/ / /_/ /___/ / /_/ /
\____//____/_/|_| /_.___/\____/\____/\__/\__,_/_.___/_/\___/ \____//____/_____/ '
echo ''
echo 'Author: Mauro Marano'
echo 'Web: mauromarano.it'
echo 'GitHub: https://github.com/gagginaspinnata'
echo ''
echo ''
echo 'This script will guide you throught the process needed to make a mavericks bootable USB dongle.'
echo ''
read -p 'Drag and drop the "Mavericks.app" into this terminal window and press enter: ' var1
read -p 'Drag and drop the path to the USB dongle (usually /Volumes/Untiteled) into this terminal window and press enter: ' var2
sudo "$var1"/Contents/Resources/createinstallmedia --volume "$var2" --applicationpath "$var1" --nointeraction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment