sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/OS\ X\ Base\ System --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
This is better than osxdaily's method (which should only be used for DP1 anyway, not DP4 or the GM):
To make a bootable USB of the GM, use this method:
Your 8 GB USB drive should be called Untitled and formatted as Mac OS Extended (Journaled). The installer should be called Install OS X Mavericks.app and should be in your Applications folder.
Run this in terminal and wait about 20 minutes:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
You should see something like this:
Erasing Disk: 0%... 10%... 20%... 100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
You can then boot up from the USB by holding down the option key, then install the GM from the USB.
This is probably going to be the same for the public release.
Note that this will also install a recovery partition (which osxdaily's method doesn't do).
Erasing Disk: 0%... 10%... 20%... 100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
joshuelsmbp:~ joshuel$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1GB disk0
0: EFI EFI *209.7MB disk0s1
0: Apple_HFS Joshuel *256.1MB disk0s2
0: Apple_Boot Recovery HD *256.1MB disk0s3
Group differs on "Library/Printers/InstalledPrinters.plist"; should be 80; group is 0.
Permissions differ on "Library/Printers/InstalledPrinters.plist";should be -rw-rw-rw- ; they are -rw-r--r-- .
Group differs on "Library/Java"; should be 0; group is 80.
Permissions differ on "Library/Java"; should be drwxr-xr-x ; they are drwxrwxr-x .
Permissions differ on "System/Library/Frameworks/Ruby.framew.../libruby.2.0.dylib"; should be lrwxrwxrwx ; they are lrwxr-xr-x .
Group differs on "Library/Printers/InstalledPrinters.plist"; should be 80; group is 0.
Permissions differ on "Library/Printers/InstalledPrinters.plist";should be -rw-rw-rw- ; they are -rw-r--r-- .
Repaired "Library/Printers/InstalledPrinters.plist"
Group differs on "Library/Java"; should be 0; group is 80.
Permissions differ on "Library/Java"; should be drwxr-xr-x ; they are drwxrwxr-x .
Repaired "Library/Java"
Permissions differ on "System/Library/Frameworks/Ruby.framew.../libruby.2.0.dylib"; should be lrwxrwxrwx ; they are lrwxr-xr-x .
Reparied "System/Library/Frameworks/Ruby.famework/Versions/2.0/usr/lib/libruby.2.0.dylib"
Yes. You can change the drive name and other things - but I would only admit this to people who know exactly what they are doing with terminal.
I have found that many who tried to alter things in my instructions who do not know how to use terminal properly have stuffed it up.
So if you don't really use terminal much, just stick strictly to my instructions, copy and paste the command, rather than type it, and everything should be OK.
Apple have a page on it, but it is really written for those who know how to use terminal: http://support.apple.com/kb/HT5856 . They didn't make a user friendly guide unfortunately.
I think it is fair to say though that most people who use mavericks and want to make a bootable usb are not experts at terminal which is why I wrote my more user-friendly instructions.
(BTW, Apple published their less user-friendly instructions 17 days after I published mine)
createinstallmedia was first included in developer preview 4 because at the time the only bootable version available was developer preview 1 (there was no full installer for DP2 and DP3) and the very objectionable method for making a bootable usb for DP1 (in particular, the step involving making invisible files visible) was potentially a recipe for disaster. If apple wanted to change the method for making bootable usb's, fine. BUT - please don't force everyone to render their macs into a very vulnerable state to do so. Hence createinstallmedia!
Is there a solution for creating a boot USB drive from 10.6.8 yet?
I'm guessing it's failing since both of your drives are named "Untitled". When this happens, both drives will appear to have the same name in the Finder but one will have been assigned a different name as seen in /Volumes and as the Applescript indicates. A Non-zero error in an Applescript just means that the script didn't exit as expected, but the cause could be any number of things.
Edit: The process is indeed failing because both of your drives are named Untitled.
Does it work for the 10.9.2 installer ? Terminal says "command not found"...
Would this same process work for a bootable install of Lion as long as I used the correct app name?
This is better than osxdaily's method (which should only be used for DP1 anyway, not DP4 or the GM):
To make a bootable USB of the GM, use this method:
Your 8 GB USB drive should be called Untitled and formatted as Mac OS Extended (Journaled). The installer should be called Install OS X Mavericks.app and should be in your Applications folder.
Run this in terminal and wait about 20 minutes:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
You should see something like this:
Erasing Disk: 0%... 10%... 20%... 100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
You can then boot up from the USB by holding down the option key, then install the GM from the USB.
This is probably going to be the same for the public release.
Note that this will also install a recovery partition (which osxdaily's method doesn't do).
This is better than osxdaily's method (which should only be used for DP1 anyway, not DP4 or the GM):
To make a bootable USB of the GM, use this method:
Your 8 GB USB drive should be called Untitled and formatted as Mac OS Extended (Journaled). The installer should be called Install OS X Mavericks.app and should be in your Applications folder.
Run this in terminal and wait about 20 minutes:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
You should see something like this:
Erasing Disk: 0%... 10%... 20%... 100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
You can then boot up from the USB by holding down the option key, then install the GM from the USB.
This is probably going to be the same for the public release.
Note that this will also install a recovery partition (which osxdaily's method doesn't do).
With your bootable usb of mavericks inserted, restart the computer and when booting up, hold down the option key.
Then you can select the bootable usb of mavericks and boot up from it. Four things should show: Restore From Time Machine Backup, Install OS X, Get Help Online and Disk Utility.
Use disk utility to format the drive with "Erase" first before installing. It should be formatted as Mac OS Extended (Journaled).
Then install mavericks onto the blank drive.
That will be a clean install.
It is good you have a backup. I would not recommend a clean install unless you have such a backup.
This does not work in the full release of Mavericks.
I get the following: -
Error erasing disk error number (-69888, 0)
A error occurred erasing the disk.
This is on an 8 Gig Flash, formatted as Mac OS Extended (Journaled), and i just copied the above command so to not make mistakes while typing in Terminal..