3

I was trying to make a USB boot loader for Yosemite using this command

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

I borrowed it from the original

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

Which has worked for tons of people. The issue is for some reason it doesn't recognize the name of my volume is Untitled 2. Error message:

/Volumes/Untitled is not a valid volume mount point.

I don't understand why it isn't reading the 2. Is there another way to point the command to the partition without using the names given e.g. serial addressing?

4

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.

1

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 liked your answer, it is simple yet it explains clearly. (+1) – Ruskes Nov 14 '14 at 1:35
  • I appreciate the explanation. honestly I knew that I just didn't have my head in the right place I was so frustrated. Thanks for that. I had to mark the other answer as correct because I just copied his code haha – Jake Stewart Nov 14 '14 at 1:55
-2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .