In this quick tutorial five minute tutorial I demonstrate how to convert the operating system image obtained from the Mac App store into a bootable USB. This tutorial is useful for those who want to upgrade to the latest version of Mac OS X but wish to start with a clean slate.
At the moment in time, Apple does not provide the option to purchase OS X in a disk/other physical medium format and thus, those upgrading from an older version can only do so from their current OS X installation through the downloaded App Store image. By following the steps of this tutorial, it will allow you to create a bootable USB that can be used to perform a clean installation of OS X (formatting your data and starting from fresh install).
The Code to enable Hidden folders in Mac OS X (Enter in Terminal utility):
defaults write com.apple.Finder AppleShowAllFiles YES
To disable Hidden Folders from being shown in Mac OS X:
defaults write com.apple.Finder AppleShowAllFiles NO
Generating a Bootable USB with installation of a Recovery Partition:
1) Format your USB Drive using Disk Utility. Drive should be named untitled and partition type should be Mac OS X Extended (Journaled).
2) Ensure that the “Install OS X Mavericks.app” is in the Applications folder. Make sure it is called “Install OS X Mavericks”
3) Run the command: ” sudo /Applications/Install OS X Mavericks.app/Contents/Resources/createinstallmedia –volume /Volumes/Untitled –applicationpath /Applications/Install OS X Mavericks.app –nointeraction ”
4) Wait for about 20-30 minutes until you see the text “Done.”
5) Boot off of USB device by holding the Option key. Now you will have installed a Recovery partition on your system.
Thank you to /u/PacifistRiot on Reddit for pointing this method out!