1. Download the latest OS X 10.10 via the App Store
2, in the finder→ application to find the downloaded OS X Yosemite installation file, select the right mouse button, select "Show Info", the file is named 1.app
3, open the "terminal" in the application, execute "sudo-i" (without quotation marks, the same as below), follow the prompts to enter the password, enter the completion, you will open root permissions
4, then prepare a USB disk not less than 8GB, with "Disk Utility" format, remember to select the "Mac OS Extended (journaled)" format, name input "Yosemite", "Options ..." with the GUID partition table.
5. After the previous steps are ready, perform the following command on the terminal:
/applications/1.app/contents/resources/createinstallmedia--volume/volumes/yosemite--applicationpath/ Applications/1.app
(Note that "1.app" and "Yosemite" are the 10.10 installer name and the USB stick name you downloaded, and if you don't name your software and USB stick, you need to adjust it to the correct name in the Terminal command.) )
6, then, the terminal will try to format your disk, if you confirm to format, enter "Y", then press RETURN. After that the terminal will appear the following section:
Ready to start.
To continue we need to erase the disk at/volumes/yosemite.
If you wish to continue type (Y) then press Return:y
Erasing disk:0% ... 10% ... 20% ... 100% ...
Copying installer files to disk ...
Copy complete. Making Disk Bootable ...
Copying boot files ...
Copy complete.
Done.
7, USB flash drive after successful restart the computer, and long press the COMMAND+R key until the OS X utility interface to release. The operation of the erase disk can be done in Disk utility. Restart the computer after wiping the disk and press the option key until the disk Selection screen is released. Click the USB flash drive icon to start the installation.
This article is from the ", Mineral water" blog, please be sure to keep this source http://guwenqiang.blog.51cto.com/5462040/1604019
Making a U disk OS X installation disk