Download the Mac OS X Yosemite installer from the App Store, and the downloaded installation file is saved in the application (/applications) folder. Please note that you must not start the program installation directly at this time OS X Yosemite , because the installer will be removed once the installation is complete. At a minimum, you should finish installing the standalone installation media before starting the program installation.
prepare a standalone installation disk media: You need a mobile storage device with a capacity of at least 8GB, such as a USB flash drive, a removable hard disk or an SD card, insert it into your Mac, and start the disk utility to "erase" the media, and back up the important data on the media before wiping it out. The drive letter name is named "Yosemite" format [Mac OS Extended (journaled)]/[Mac OS Extended (journaled)].
To create an installation disk from the Terminal command: Open the Terminal , execute the following command at the command line and enter your OS X Administrator login password when prompted for the password.
The difference between the Chinese version and the English version is that the installer you downloaded (install OS X Yosemite) is in English and (installs OS X Yosemite) is the Chinese version.
Copy the code directly, and then command+v paste it to "terminal".
English version
Sudo/applications/install\ os\ x\ Yosemite.app/contents/resources/createinstallmedia--volume/volumes/yosemite-- Applicationpath/applications/install\ os\ x\ Yosemite.app--nointeraction
Chinese version
sudo/applications/installation \ os\ x\ Yosemite.app/contents/resources/createinstallmedia--volume/volumes/yosemite-- applicationpath/applications/installation \ os\ x\ Yosemite.app--nointeraction
Finish Making: If everything is OK, the terminal interface will display Erasing disk:0% ... 10% ... 20% ... , and finally finished the production. Once finished, you can use this media to launch any OS X Yosemite -compatible Mac (you need to insert the media on the target MAC and then hold down the option key on the boot ) , start the installation tour of OS X Yosemite .
The original text is transferred from http://www.macx.cn/thread-2143641-1-1.html, slightly modified.
Mac OS X Yosemite installation disk USB drive maker