How to fix the error of volume and install application path when you making an OSX Yosemite El Capitan bootable installer USB - 通達人驛站
2016/5/16

How to fix the error of volume and install application path when you making an OSX Yosemite El Capitan bootable installer USB

OSX USB Installer
When you creating an OSX Yosemite/El Capitan bootable installer drive from USB flash thumb drive as the orginal command, you will see below error message.

當你使用原本的命令製作 OSX Yosemite/El Capitan USB 安裝碟時,你會看到以下的錯誤訊息。

JosedeMacBook-Pro:~ sunjose$ sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia –volume /Volumes/Untitled –applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app –nointeraction
You must specify both the volume and install application path.


I found that OSX has changed the arguments usage of createinstallmedia in OSX Yosemite/El Capitan. When I use same command twice, OSX will show below arguments usage message.

我發現在 OSX Yosemite/El Capitan 已經變動了 createinstallmedia 的參數,當我第二次使用相同的命令時,OSX就直接顯示參數的使用資訊。
JosedeMacBook-Pro:~ sunjose$ sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia -volume /Volumes/Untitled -applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app -nointeraction
createinstallmedia: invalid option -- o
Usage: createinstallmedia --volume --applicationpath [--force]

Arguments--volume, A path to a volume that can be unmounted and erased to create the install media.
--applicationpath, A path to copy of the OS installer application to create the bootable media from.
--nointeraction, Erase the disk pointed to by volume without prompting for confirmation.

Example: createinstallmedia --volume /Volumes/Untitled --applicationpath "/Applications/Install OS X El Capitan.app"


You just need to change the parameter usage of createinstallmedia and you’ll see a series of expect message like the following.

你只需要改變 createinstallmedia 參數的使用方式,你就可以看到一連串期望的訊息了。
JosedeMacBook-Pro:~ sunjose$ sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
JosedeMacBook-Pro:~ sunjose$


 Related Posts with Thumbnails 

0 意見 :

張貼留言