I could probably copy the contents from the package, but what is the best way to create an install Flash Drive for Mavericks?
Of course ideally the drive should be bootable.
I could probably copy the contents from the package, but what is the best way to create an install Flash Drive for Mavericks?
Of course ideally the drive should be bootable.
Edit: this also should work for El Capitan with a 6.33GB+ partition
Currently the best way seems to be through createinstallmedia
, which is also Apple's recommended method.
First create a Mac OS Extended (Journaled)
partition on the USB key with 5GB or more:
then in the terminal use the createinstallmedia
command. It can be found in the Maverick install apk. By default the path is /Applications/Install OS X Mavericks.app/Contents/Resources/createinstallmedia
.
Replace /Volumes/MavericksInstall
with your own partition name:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MavericksInstall --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
The output should be along these lines:
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
The setup should take few to few dozens minutes depending on your USB drive.
To create a USB installer for multiple OS X versions you can to go through the following procedure:
Mac OS Extended (Journaled)
. Give them names like:
LionInstall
MountainLionInstall
MavericksInstall
createinstallmedia
tool of each OX 10.9+ version and add the other install partitions using disktool :
/Applications/Install Mac OS X Lion/Contents/SharedSupport
to /Volumes/LionInstall
/Applications/Install OS X Mountain Lion/Contents/SharedSupport
to /Volumes/MountainLionInstall
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MavericksInstall --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
From experience here is the data usage for each OS X version :
createinstallmedia
simply copies the files and makes the partition bootable or if it erases the partition prior to that.
The absolute easiest way (Trust me on this) is to download this application LionDiskMaker and it will do everything everyone have said, only it will do it all automatically
(feel free to donate (I'm not the creator of the app, however it works perfectly))
Assuming that you have a USB flash drive plugged into the computer that has the name "Untitled", my preferred method to create a bootable Mavericks install disk would probably be:
hdiutil mount "/Applications/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg"
sudo asr restore --source "/Volumes/OS X Install ESD/BaseSystem.dmg" --target /Volumes/Untitled --erase
sudo unlink "/Volumes/OS X Base System/System/Installation/Packages"
sudo cp -Rp "/Volumes/OS X Install ESD/Packages" "/Volumes/OS X Base System/System/Installation"
From this Gist Creating a bootable OS X Mavericks USB installer:
/Volumes/Untitled
.With that volume in place, and with the Mavericks installer sitting in /Applications/Install\ OS\ X\ Mavericks.app
,
run the following command in your terminal to create a bootable install media:
sh
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
You should see output like the following—it might take a while to finish.
Erasing Disk: 0%... 10%... 20%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
To boot from the installer, reboot your Mac and hold down the alt
/option
key, and it will let you
choose to boot from the USB disk.
Just copy the installer to the flash drive. When the flash drive is mounted all you need to do is double click it to install. It will install faster if you move it from the flash drive to the /Applications folder on your boot drive. It should also clean up the installer when it is finished.