How to prepare a Yosemite OSX usb install drive
Here How to prepare a Yosemite osx usb installer
Download yosemite from here
2. Open Contents / Shared Support
3. You'll see a Packages folder. Open terminal, enter:
open "/Volumes/OS X Install ESD/BaseSystem.dmg
4. Using Disk Utility, restore OS X Base System to your USB Stick. (Took a couple of times for me)
5. On the USB Stick, in System/Installation delete the link named Packages
6. Copy Packages from OS X Install ESD to the System/Installation folder on the USB Stick
7. Unhide files from the OS X Install ESD dmg to copy BaseSystem.dmg and Basesystem.chunklist (they are both hidden) and copy them onto the USB stick (not in a folder, top level)
8. Unmount USB stick. You now have a full bootable USB stick with the OS.
