This guide deals with 3 ways of making a boot disk from OSX 10.9 Mavericks the first one is the fastest and is done via the Terminal from a new command already in OSX Mavericks called createinstallmedia , the other 2 are older ways when Mavericks was in development and are done with a mixture of finder using Disk Utility and command line.
Download Mac OSX 10.9 Mavericks but don’t install.
Attach your USB stick/drive.
Launch the Terminal from /Applications/Utilities and enter the command below and then your password when prompted, be sure to change the ‘Untitled‘ name in the below command to your external disk name:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
Let it do its thing and there you have it, one bootable Mac OSX 9 drive.
This really is a super simple way – however if using the Terminal fills you with fear and dread, there are some GUI apps that can get the job done namely DiskMakerX and a new imaging tool that can clone a new disk very quickly – AutoDMG.
Alternative Ways of building a Bootable Mavericks OSX Disk.
To make a boot disk of OSX 10.9 Mavericks, first of all get the app or download via the App store, if downloaded it will file in the folder Applications.
Control / Left click Options, Show in Finder to get to the app, don’t install at this stage.
Located in the Applications Folder
Finding the InstallESD.dmg
To find the actual InstallESD.dmg file, control/left click the ‘Install OS X Mavericks’ app and choose show contents – then navigate to Shared Support folder.
Control/Right click to show contents
Navigate to Shared Support folder to see the InstallESD.dmg file
Double click to mount the image.
Make Invisible Files Visible
We need to see the BaseSystem.dmg inside the InstallESD.dmg
Crank open Terminal and run:
defaults write com.apple.Finder AppleShowAllFiles TRUE
This will show all invisible files have a look inside the mounted InstallESD.dmg
Mount an External Disk
Attach a USB/external drive – this guide uses the external drive name calledBootDisk, you need to make sure the format is correct, it needs to be Mac OSX Extended Journaled – it its not you can format that in Disk Utility.
Launch Disk Utility
Launch Disk Utility as found in Applications/Utilities and go to the Restore tab.
Drag BaseSystem.dmg to the Source field and your external disk to the Destination and click Restore.
This will mount your new OSX 10.9 external disk and name it OSX Base System – but we need to add the packages.
Fix the Packages
Couple of things to fix in the newly created boot disk, remove the Package alias at System/Installation/ folder
Now from the previously mounted InstallESD.dmg copy over the Packages folder to the same location where we just removed the alias above.
Will take a while as it holds all the install packages.
Job done now you can boot from the OSX 10.9 disk.
Make the Visible back to Invisible
If you want all to return back to normal and hide the system files run a couple more commands in the Terminal
defaults write com.apple.Finder AppleShowAllFiles FALSE
How to create the OSX 10.9 Mavericks Bootable Drive just via Terminal
Just for the crazy ones……after Mavericks is downloaded….and again this assumes you external disk is named BootDisk
Mount the InstallESD.dmg buried deep in the app
hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify
Swap to the newly mounted image
This puts you back in the Finder in front of the newly mounted InstallESD.dmg, go back to Terminal and clone the BaseSystem.dmg to the remote USB drive
sudo asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg -target /Volumes/BootDisk/ -erase -noverify
This will change ‘BootDisk‘ to ‘OS X Base System‘
Remove the existing Packages alias link from the newly restored image
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
Copy the full OSX Mavericks Packages over to the new image….takes a while
cp -R /Volumes/OS\ X\ Install\ ESD/Packages/ /Volumes/OS\ X\ Base\ System/System/Installation/Packages
And there it is! – to eject the new bootable USB OSX Mavericks 10.9 disk ‘cd’ to home and eject
hdiutil eject /Volumes/OS\ X\ Base\ System/
Now you can boot up from your newly bootable disk and either Install OSX10.9 on another device or use the Terminal/Disk Utility or Firmware Password Utilities on another device.