Link: https://sskaje.me/2013/10/create-os-x-mavericks-bootable-usb-drive-from-appstore-release/
1 Download Mavericks installer
Download from Mac App Store or anywhere.
The default folder name is ‘Install OS X Mavericks.app‘ not accessible directly from Mac Finder. There’s a DMG file locate at ‘Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg‘, this DMG contains all files we need.
2 Mount DMG directly from Terminal
Open Terminals,
1 |
hdiutil attach Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg |
The DMG will be mount at /Volumes/OS X Install ESD/
3 Mount BaseSystem.dmg from Terminal
Open Terminals,
1 |
hdiutil attach /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg |
The DMG will be mount at /Volumes/OS X Base System/
4 Insert your usb flash drive
8GB or larger.
5 Run ‘Disk Utility’
Press control + space, enter ‘disk utility’, run the application.
6 Restore DMG to USB Driver
Format flash drive
Left part of Disk Utility, choose your usb drive(not partition under the drive);
Right part, Erase, Format set to Mac OS Extended (Journaled).
Restore
Left, choose ‘OS X Base System’ under the BaseSystem.dmg;
Right, Restore;
Left, choose partition under your flash drive;
Right drag partition under your flash drive to Destination from left;
Right, Restore.
Burned drive will be automatically mounted at /Volume/OS X Base System 1/.
7 Copy packages to USB drive
System/Installation/Packages in ‘OS X Base System’ is a symlink, remove it and replace with Packages in ‘OS X Install ESD’.
1 2 3 |
rm -f /Volumes/OS\ X\ Base\ System\ 1/System/Installation/Packages; mkdir /Volumes/OS\ X\ Base\ System\ 1/System/Installation/Packages; rsync -rxavv /Volumes/OS\ X\ Install\ ESD/Packages/* /Volumes/OS\ X\ Base\ System\ 1/System/Installation/Packages/; |