Monday, July 1, 2013

MAC OS X 10.9 Mavericks USB Bootable



In OS X Mavericks Apple have changed the package you get from the App Store.  It is no longer possible to simply restore the InstallESD.dmg to get a bootable image for USB / Flash drive installation.  However, you can still do it, it just takes a few more steps.  Here’s how…

  1. You are going to need to see some hidden files for this.  So start by opening Terminal.app and pasting in the following (don’t worry, we’ll undo this change when we are done)…
    defaults write com.apple.Finder AppleShowAllFiles YES
    killall Finder
  2. Download the installer as normal from the app store. (At time of writing this is only possible for those with access to the developer previews).
  3. After download you will have the ‘Install OS X 10.9′ app in your /Applications folder. Right-click it and select ‘Show Package Contents’.
  4. Navigate to the Contents/SharedSupport.  There you will see the InstallESD.dmg file.  Unfortunately, you can’t just grab it and restore it.  Instead double-click it to mount it.
  5. You should now see the normally hidden BaseSystem.dmg file in the mounted volume.
    Tips: If you skip step 1 and still can't see the file BaseSystem.dmg, just launch Terminal and type this command:
    $ open /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg
  6. Open Disk Utility and restore the source BaseSystem.dmg to the destination of your USB drive.
  7. Now open up the restored USB volume (default name is OS X Base System) and navigate to System/Installation. In there you will see an alias for Packages. Delete this alias.
  8. Copy the full Packages folder from the root of the mounted InstallESD volume (the same place you got the BaseSystem.dmg file) to the USB volumes System/Installation folder. Basically, replace the Packages alias you just deleted with the real Packages folder from the original InstallESD volume.
  9. The USB drive should now be bootable. So simply restart, hold down the Option key (Alt) when booting with the USB drive in your machine, and you should get the option to boot from the USB drive.
  10. Remember, to rehide the normall hidden files just repeat step 1 but change YES to NO.

No comments:

Post a Comment