Thought this might be of help to those who have cloned a Yosemite hard drive but are now missing the Recovery Partition.

To restore the recovery partition on a Yosemite install, you’ll need a few files from the Yosemite Installer, a script, and Apple’s Lion Recovery Updater.

Make sure you have backed up your drives before doing anything to your boot volume!

  1. Login to the computer as an administrator.

  2. Download the Yosemite installer from the App Store and look for "Install OS X Yosemite.app"

  3. Right-click on Install OS X Yosemite.app and select Show Contents.

  4. Navigate to Contents/SharedSupport. Copy the file InstallESD.dmg to your Downloads folder.

  5. Download the Apple’s Lion Recovery Updater http://support.apple.com/kb/dl1464 - mount and copy RecoveryHDUpdate.dmg into the Downloads folder.

  6. Download and decompress the file recovery.sh.zip from http://4unitmaths.com/recovery.sh.zip and moverecovery.sh into your Downloads folder.

  7. Open Terminal and type the following commands: chmod +x ~/Downloads/recovery.sh (hit return) sudo ~/Downloads/recovery.sh (hit return)

  8. The process will take a few minutes.

  9. Shutdown and power back on, holding Option to confirm its installed. Click on it to make sure it boots.

  10. That's it!

I'd like to give credit to the individual who posted the original instructions at: forums.macrumors.com/showthread.php?t=1756752.

Browse other questions tagged .