Make an OS X Yosemite Installer USB

  1. Download the latest OSX Yosemite version from the iTunes store and, if not already done, place the app inside the Applicaitons folder
  2. open Disk Utility
  3. erase your USB drive and format your drive with partition layout "1 Partition" and the GUID option.
  4. close Disk Utility
  5. open your terminal and paste following code

    sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled\ 1 --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
  6. done. reboot your machine and boot from the USB drive