HT201372: Create a bootable installer for OS X

Learn about Create a bootable installer for OS X
Moonmad

Q: Getting erro message no such file or directory, which the file in applications or the flash drive?

I am using the createinstallmedia command in terminal.  I can see the flash drive and the OS X El Capitan installer is in the applications folder.  When I tried to execute the command I got the message: No such file or directory.  Where do I need to check to see what is wrong?

MacBook, OS X Mavericks (10.9.4)

Posted on Aug 19, 2016 8:24 AM

Close

Q: Getting erro message no such file or directory, which the file in applications or the flash drive?

  • All replies
  • Helpful answers

  • by Niel,

    Niel Niel Aug 19, 2016 8:27 AM in response to Moonmad
    Level 10 (311,951 points)
    Aug 19, 2016 8:27 AM in response to Moonmad

    Instead of typing out the paths, drag the items into the Terminal window. If that doesn't work, post back with the exact command you're using.

     

    (144117)

  • by Moonmad,

    Moonmad Moonmad Aug 19, 2016 10:55 AM in response to Niel
    Level 1 (5 points)
    Mac OS X
    Aug 19, 2016 10:55 AM in response to Niel

    This is what is showing in terminal. No luck I guess I'm tripping over something simple.

    sarah-moons-macbook:~ gregorymoon$ sudo/ Application/ Install\ OS\ X\ El\ Capitan.app/ Contents/ Resources/createintallmedia --volume / Volumes/USB20FD --applicationpath / Applications/ Install\ OS\ X\ El\ Captitan.app

    -bash: sudo/: No such file or directory

    sarah-moons-macbook:~ gregorymoon$ sudo/Application/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB20FD --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app

    -bash: sudo/Application/Install OS X El Capitan.app/Contents/Resources/createinstallmedia: No such file or directory

    sarah-moons-macbook:~ gregorymoon$  sudo/Application/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume/Volumes/USB20FD --applicationpath /Applications/install\/Applications/Install\ OS\ X\ El\ Capitan.app

    -bash: sudo/Application/Install OS X El Capitan.app/Contents/Resources/createinstallmedia: No such file or directory

    sarah-moons-macbook:~ gregorymoon$

  • by Niel,Solvedanswer

    Niel Niel Aug 19, 2016 12:29 PM in response to Moonmad
    Level 10 (311,951 points)
    Aug 19, 2016 12:29 PM in response to Moonmad

    Use the following command:

     

    sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB20FD --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app

     

    (144120)