Problems creating Yosemite USB bootable drive

Change

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled 2 --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction

to

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume "/Volumes/Untitled 2" --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction

or

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled\ 2 --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction

and it should work.

You have to escape spaces in paths in the command line either with a \ or quotation marks.


Use this path instead:

/Volumes/Untitled\ 2/

The backslash tells the terminal that the space is included in the path, otherwise it thinks your volume is called /Volumes/Untitled and that there is a random 2 argument in the command.


I had this issue recently when trying to re-install Sierra on an older machine. None of the helpful tips from a few years ago seemed to work. Apple's installer certificates expired in Oct of 2019 and the installers all had to be replaced. However, Apple included a bug with the Sierra installer and I was stuck! I reached out to a friend and he came up with a clever way to solve it. I can verify that with his instructions, I was able to create a Sierra installer on a USB drive using an image I downloaded from Apple after Oct 24, 2019. This image was able to boot a MacBook Air and that I was able to re-install the Sierra OS with that USB drive. If anyone else has this issue in 2020, follow these instructions:

https://krieger.io/creating-bootable-macos-sierra-installation-media-on-macos-catalina/