GUIDE: Create USB Installer - Mavericks Developer Preview 4

Discussion in 'OS X Mavericks (10.9)' started by rw3, Jul 25, 2013.

  1. rw3 macrumors 6502a

    rw3

    Joined:
    May 13, 2008
    Location:
    DFW, TX
    #1
    So after doing some searching tonight, I was unable to find a good guide to get the latest Mavericks DP4 onto a USB flash drive in order to use it as a clean installer. After doing some digging in the package, I found a nice little Apple provided utility within the package that will do everything we need in terminal. Below you will find the guide:

    OS X Mavericks Developer Preview 4 USB Install Disk Guide

    1. Download the latest Developer Preview 4 package from App Store

    [​IMG]

    2. Right Click on the Install OS X 10.9 Developer Preview in the Applications Folder and select "Show Package Contents":

    [​IMG]

    3.Now once in this window:

    [​IMG]

    Double Click "Contents" then Double Clock "Resources":

    [​IMG]

    4. Now once in "Resources", you will want to copy the createinstallmedia exec file to your Desktop.

    [​IMG]

    5. Now open Terminal and run a "sudo -s" without the quotes and then enter your user password:

    [​IMG]

    6. Once you have run the sudo command you will then want to launch Disk Utility (keep your root Terminal window open) and format an 8GB USB Flash drive with the name Mavericks. (GUID Partition Scheme and Mac OS Extended Journal)

    7. Once you have created a flash drive with volume name Mavericks, you will want to run the follow command in Terminal (replacing shortname with your short name and removing the quotes):

    "/Users/shortname/Desktop/createinstallmedia --volume /Volumes/Mavericks --applicationpath /Applications/"Install OS X 10.9 Developer Preview.app" [--force]"

    [​IMG]

    Once you have entered the command, you will see the following text in Terminal:

    Ready to start.
    To continue we need to erase the disk at /Volumes/Mavericks.
    If you wish to continue type (Y) then press return: y
    Erasing Disk: 0%... 10%... 20%... 30%...100%...
    Copying installer files to disk...
    Copy complete.
    Making disk bootable...
    Copying boot files...
    Copy complete.
    Done.
    bash-3.2#
    bash-3.2#​

    The process will take a good 10-15 minutes to complete. I have fully tested this and I am able to install from this newly created USB disk.
     
  2. MacReloaded macrumors 6502

    MacReloaded

    Joined:
    Oct 31, 2007
    Location:
    Canada
  3. ATC macrumors 6502a

    Joined:
    Apr 25, 2008
    Location:
    Canada
    #3
    Thanks. I'll have to try it once the final release is out. I was also going to see if Lion Diskmaker works on 10.9. I used it to make an install USB drive for 10.8 that worked great. Link
     
  4. rw3 thread starter macrumors 6502a

    rw3

    Joined:
    May 13, 2008
    Location:
    DFW, TX
    #4
    I tried it and it doesn't work for me. This is an Apple made tool that just works.
     
  5. ATC macrumors 6502a

    Joined:
    Apr 25, 2008
    Location:
    Canada
    #5
    Good to know. Thanks.
     
  6. bolen macrumors 6502

    bolen

    Joined:
    Jul 22, 2008
    Location:
    Sweden
    #6
    Did you try the Lion Diskmaker 3 beta? http://liondiskmaker.com/?p=164
     
  7. zwaldowski macrumors member

    Joined:
    Aug 15, 2009
    #7
    @rw3, are you both an AppleSeed member and a registered developer? How did you get the separate DP4 installer package?
     
  8. jpeezy macrumors regular

    Joined:
    Feb 24, 2010
    #8
    I'm a registered developer and never received DP4 as a standalone installer. There was an email they sent out with a link to redeem the code but I never received it. :(
     
  9. slide023 macrumors member

    slide023

    #9
    RW3 Your Guide Returned This Error For me

    rw3

    I followed step by step to the T but was returned with this error in the terminal

    /Applications/Install OS X 10.9 Developer Preview.app [--force] does not appear to be a valid OS installer application.

    I kept the quotation marks from /"Install to [--Force]" I also tried it without the quotation marks.

    rw3 is the short name the name of my home directory or the name that shows up in the terminal. I'm guessing the former.

    Thanks!

    Slide
     
  10. slide023 macrumors member

    slide023

    #10
    rw3 Forgot to cross a couple of T's

    rw3

    I got it bro ....guess I didn't cross all of my T's but the terminal is executing just as you said.

    Much thanks and appreciation

    Slide
     
  11. tywebb13 macrumors 68000

    Joined:
    Apr 21, 2012
    #11
    There is now a new redemption code for the full installer in the mac dev center.

    Appleseed could get this before, but only now developers can get it. It appeared at the same time as dp5 was released.
     
  12. slide023, Aug 8, 2013
    Last edited: Aug 8, 2013

    slide023 macrumors member

    slide023

    #12
    Ty

    Can I ask this here is the forums? When you use your (in this case my) redeem code for DP4; Do they generate a new redeem code for say, DP6? (When it's ready)

    My reason for asking is I had an original redeem code when I signed up for the Dev program which allowed me to download DP1, but the redeem code remained the same; in other words I could not use it again. I had someone from Apple call me. I had to jump through hoops to convince her that a new redeem code would enable me to download DP4. After about 50 minutes of going around and around, she finally issued me a redeem code for DP4. This young woman will go unnamed but was pretty high up in that department.

    She kept insisting the procedure was to go from DP1 and update to DP4: DP1 update DP2...etc. We went round and round as I said until I guess I somehow convinced her a new redeem code would allow me to download the full installer for DP4.

    This is a concern for me. When the next major DP is released; I''ll still have the redeem code I have now which has already been redeemed for DP4; leaving me where I was before with a redeem code that had already been redeemed.

    Sorry for the confusion. I asked you because I thought you might be a Dev.

    Kind Regards,

    Slide
     
  13. tywebb13, Aug 8, 2013
    Last edited: Aug 11, 2013

    tywebb13 macrumors 68000

    Joined:
    Apr 21, 2012
    #13
    Well I'm signed up as a developer and could only recently get access to the full dp4.

    Will apple give developers access in future to other full dps? I don't know. I would prefer it if all the dps were available to developers as full installers - because then you can make a bootable usb for each one - very useful if you have to reinstall it - and much better than a multitude of delta updates.
     
  14. tywebb13 macrumors 68000

    Joined:
    Apr 21, 2012
    #14
    Also, a shorter method for making a bootable USB for DP4 in Terminal is (your USB drive should be called Untitled):

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

    You won't have to copy createinstallmedia to the desktop if you use this method.

    Also, output in terminal looks slightly different:

    Erasing Disk: 0%... 10%... 20%...100%...
    Copying installer files to disk...
    Copy complete.
    Making disk bootable...
    Copying boot files...
    Copy complete.
    Done.

    So far createinstallmedia is only in the full installer for DP4. It is not present in any of the updaters, or in the full installer for DP1. I think apple made this because they really don't want you to make invisible files visible (a necessary step you need to make a bootable USB for DP1). And rightly so in my opinion. You can cause a lot of damage if you start messing about with invisible files.
     
  15. NJRonbo macrumors 68000

    Joined:
    Jan 10, 2007
    #15
    Is it necessary to do this USB install?

    I remember when I installed DP1 I was able to simply go into the contents of the DMG file and install from there.

    I know there is an alternative method installing Mavericks from your hard drive without having to create a USB installer.

    ....of course, there may be a better reason to do it this way and I apologize in advance if I am going against the flow.
     
  16. tywebb13, Aug 11, 2013
    Last edited: Aug 11, 2013

    tywebb13 macrumors 68000

    Joined:
    Apr 21, 2012
    #16
    You don't have to use a bootable usb to install the system. You can install it without the usb. But it is a good idea to make a bootable usb in case you need to reinstall later, do a clean install or if you have to install on several computers. It can also be used to restore from a backup, or use disk utilities to repair a disk. So it's actually very useful to have such a thing.

    Only 2 days ago I had to reinstall snow leopard and I had previously made a bootable usb. I used the bootable usb to install it and it installed much faster than the DVD.
     
  17. ATC macrumors 6502a

    Joined:
    Apr 25, 2008
    Location:
    Canada
    #17
    Giving this a try right now with the GM build. The only thing different is the line:

    "/Users/shortname/Desktop/createinstallmedia --volume /Volumes/Mavericks --applicationpath /Applications/"Install OS X 10.9 Developer Preview.app" [--force]"

    I changed it to "Install OS X Mavericks.app" to match the GM build title.

    Will update post once it's done to confirm that it works.
     
  18. tywebb13 macrumors 68000

    Joined:
    Apr 21, 2012
    #18
    This would be quicker for the GM (your USB drive should be called Untitled):

    sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
     
  19. ATC macrumors 6502a

    Joined:
    Apr 25, 2008
    Location:
    Canada
    #19
    Ah, might try that if the other (OP's) method fails. It's still in the middle of copying installer files to disk right now....
     
  20. PhyrePhox, Oct 4, 2013
    Last edited: Oct 4, 2013

    PhyrePhox macrumors regular

    PhyrePhox

    Joined:
    Jun 29, 2009
    Location:
    Toronto, Ontario, Canada
    #20
    I can confirm this works with GM, inasmuch as I can confirm it booted a MacBook Air from USB (it hasn't finished installing yet, but the installer *does* run, and WiFi is not connected). I also did not copy the installer to the hard drive first, but rather ran the command from the mounted image, like so:
    Code:
    sudo /Volumes/[I]{mounted Mavericks install volume}[/I]/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/[I]{USB drive}[/I] --applicationpath /Volumes/[I]{mounted Mavericks install volume}[/I]/Install\ OS\ X\ Mavericks.app --nointeraction
    Edit: it takes a *really* long time to run. Like, it was 15-20 minutes on a Mac Pro octo.
     
  21. emt1 macrumors 65816

    Joined:
    Jan 30, 2008
    Location:
    Wisconsin
    #21
    I used this method to make a bootable USB for the GM. It does boot but I get an error after the "preparing to install" process. Now I have a Mac with no OS and a USB drive that can't install one. Awesome.
     
  22. PhyrePhox macrumors regular

    PhyrePhox

    Joined:
    Jun 29, 2009
    Location:
    Toronto, Ontario, Canada
    #22
    Did you try a recovery boot?
     
  23. jafingi macrumors 65816

    jafingi

    Joined:
    Apr 3, 2009
    Location:
    Denmark
    #23
    Restore to ML. Hold CMD+R to start from internet recovery :)
     
  24. PhyrePhox macrumors regular

    PhyrePhox

    Joined:
    Jun 29, 2009
    Location:
    Toronto, Ontario, Canada
    #24
    Remind me next time to not use the slowest computer in the house to test with, but yeah, everything worked and I'm running 10.9 using the method above to do a clean install.
     
  25. PhyrePhox macrumors regular

    PhyrePhox

    Joined:
    Jun 29, 2009
    Location:
    Toronto, Ontario, Canada
    #25
    Also worked on an 2008 iMac with no problems, clean install.

    FYI, no network connection for the duration of the install, and it asked, but didn't require, an Apple ID to set up. I skipped and set up a dummy user, and it downloaded iTunes 11.1 form the App Store without asking for credentials.
     

Share This Page