How To Create a Bootable MacOSX USB Flash Drive

Author: , June 11th, 2016

As the root user, execute: “/Applications/Install OS X El” –volume /Volumes/{USB_DRIVE_NAME_HERE}/ –applicationpath “/Applications/Install OS X El” Be sure to include the required double-quotes, or use backslashes to escape the spaces in the path. Full instructions may be found on the Apple site: Turn on your Mac by pressing the power button Press […]

How To Eject a Volume from the Terminal Command Line in MacOSX

Author: , December 8th, 2015

As always, YMMV… 1 2 3 4 5 6 7 8 9 #!/bin/bash # Usage: eject [fullpath to mount point] DISK="${1:-/Volumes/YourUSBFlashDriveName/}" df -h "$DISK" > /dev/null 2>&1 if [ $? -eq 0 ]; then    diskutil unmountDIsk `diskutil list "$DISK" | grep ^/dev/` else    echo Volume $DISK is not mounted…skipping. fi #!/bin/bash # Usage: […]