The partition or data stored on it will not be erased from the physical drive. You can get back your lost partition on Mac OS X Lion system using partition recovery tool. To know more about partition recovery tool and how to utilize it, then you must go through the article till the end. Jul 21, 2018 A recovery partition Is created by default when you install Mac OS X for the first time. Option + Command ⌘ + R (Internet Recovery): This boots to Internet Recovery mode and will only grab the version of Mac OS X that originally shipped with the Mac. Mac OS does not automatically update the recovery partition on Apple computers when you update the OS or re-install a new copy of the OS. This can be frustrating in certain circumstances. For example, the 10.7 recovery partition does not include the same Terminal bash commands as High Sierra, such as csrutil. The Mac OS X recovery boot options. The recovery partition loads a shell of OS X familiar to anyone who’s ever installed a modern version of the OS. Tools and applications to perform clean installs, accounts resets, and troubleshoot. The recovery partition is a new feature of OS X that allows you to restore system software to your Mac with just a few clicks, without the use of DVDs or USB drives. It is, in essence, a small (650MB) partition on your Mac’s internal hard drive (traditional magnetic HDD or solid state disc SSD) that is ‘hidden’ and reserved for common.
![Mac os recovery partition missing Mac os recovery partition missing](/uploads/1/2/6/5/126526889/318340308.png)
A number of scenarios can cause the Mac to 'lose' it's recovery partition. However, the recovery partition (Recovery HD) is required for a number of tasks. For instance, to disable SIP (System Protection Integrity) in El Capitan and newer OSes, or to recovery from serious partition errors you need this partition.
This is an ADVANCED tutorial, and should NOT be used by beginners! Read the entire tutorial BEFORE you start!
Requirements
- It contains the tool that will be used to create the partition.
- Install OS X El Capitan.app or Install OS X Yosemite.app or other installation app. (download from AppStore). This contains the image of the partition to be created. (Lion or newer).Use the correct install app, the same of your system's version.
- We will be using the sudo command. If your user does not have a password create one before you start.
- Backup of all HDD data (all partitions).All your data may be wiped if something goes wrong, the whole disk! Better safe than sorry. Backup!
Disk Examination
First things first. First we need to see how the hard drive is partitioned. Chances are that you already know how the disk is partitioned.
Open Terminal.app and type:
The first column (#) indicates the partition number, the second column (TYPE) is the type of the file system, the third column (NAME) is the volume name, the fourth column (SIZE) is the size of the partition, and finally the fifth column (IDENTIFIER) is the node identifier of the partition.
The partition number 2 here is a Apple_HFS partition type with name El Capitan. Right after this OS X partition we should have a hidden partition called Recovery HD.
The solution to recreate the Recovery HD partition is to shrink the end of the OS X partition by 650 MB, and in the empty space left create a recovery partition.
The process is automated and there is no need to resize the OS X partition or re-create the Recovery HD manually. We will only need the requirements above.
Setting Up To Recreate Recovery
Place the RecoveryHDUpdate.dmg and the OS X install app on the Desktop and open the Terminal.app.
Mount the RecoveryHDUpdate.dmg. It contains the tool that we will be using to recreate the partition:
Extract the contents of RecoveryHDUpdate.pkg that contains the tool:
This creates a new directory within /tmp called RecoveryHDUpdate. And inside this directory the tool that will be used. Our tool setup is ready!
Now do this:
(A) Locate on your Desktop the OS X installer (Install OS X El Capitan.app or Install OS X Yosemite.app, or other)
(B) Right click it and choose Show Package Contents
(C) Navigate to Contents/SharedSupport folder
(D) Copy the file InstallESD.dmg to your Desktop
Reinstall Osx From Recovery Partition
Mount the OS X installation image using the Terminal! Type in:
Recreating The HD Recovery Partition
Everything ready! Now let's run the command to create the Recovery HD partition.
BE PATIENT and wait for the command to complete its execution. It may take a while, DO NOT close the terminal and DO NOT interrupt the program!!!
To avoid typos, simply copy and paste the command in the terminal.
When the command above finishes the new partition will be ready. A kext caches update is needed.
To update the kexts run the following commands:
![Partition For Os X Recovery Partition For Os X Recovery](/uploads/1/2/6/5/126526889/906457647.png)
Cleaning Up
Cleaning what was left behind. First delete the folder in /tmp:
And finally unmount the two images that were previously mounted:
Expected Results
By pressing CMD + R the Mac will boot-up the Recovery partition.
Final Thoughts
- If you do not have the OS Install application (it is automatically deleted after the update) you can get it from the AppStore. Open the AppStore and click on Purchased and search for it in the list. Click Install, the App will be re-downloaded to the Applications folder.
- Remember, you are creating a new partition after the OS X partition. If there are already other partitions after OS X partition these will have their numbers and nodes changed. In the above example, the Windows partition number 3 on the node disk0s3 was turned into partition number 4 on the node disk0s4. And the Linux partitions number 4 node disk0s4 turned into number 5 node disk0s5.