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: […]

How To use the MacBook Air SuperDrive on other Mac computers

Author: , June 11th, 2013

Edit the file: /Library/Preferences/SystemConfiguration/ Make sure that the two lines “Kernel Flags” and “mbasd=1″ exist: 1 2 3 4 5 6 7 8 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" ""> <plist version="1.0"> <dict>     <key>Kernel Flags</key>     <string>mbasd=1</string> </dict> </plist> <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST […]