I need instructions to delete my Lion Recovery Partition

raregene

Registered
I have looked and searched high and low and I keep getting conflicting answers.
I am trying to delete the Lions Developer's release recovery partition so I can reinstall SL. I have everything backed up so I'm not concerned about wiping out everything.I will be using another Mac to target startup. Thank You.
 
will result in data loss

Removing the partition with Disk Utility by formatting the disk
Disk Utility will not display “Recovery HD” on it’s own because it’s a hidden partition, meaning you can’t just go into the app and delete it. What you can do though is format the entire drive though, which will then require a Lion clean install either starting from Snow Leopard or with a created installer DVD. This is sort of the nuclear approach but it works to delete the recovery partition too.

Boot the Mac from a recovery DVD, USB key, or an attached drive
Launch Disk Utility
Right-click on the Disk (not the partitions) and select “Erase”
Select the default Mac OS Extended (Journaled) as the file system, and give the drive a name
Click on “Erase” to completely format the drive – you will lose all data on the drive and all partitions
disk-utility-erase-drive.jpg

Erase a drive with Disk Utility

This formats the drive giving you a clean slate to start from, but this is not necessarily the best approach because of the way Lion is delivered through the App Store, which would cause you to have to start from scratch.

or

Deleting and merging a partition with diskutil from the command line
This is the most precise method I know of to remove the partition since it targets the recovery disk directly and merges it with the full Lion partition – if you’re not comfortable with the command line this is not for you.

Launch the Terminal and type the following into the command line:

diskutil list

This will print out your drives partition scheme and look something like this:
diskutil.gif


diskutil list
Look for “Recovery HD” and see which identifier it is using, it this screenshot it’s disk0s4
To remove that partition we use the following command (you can also use the volume name):

diskutil eraseVolume HFS+ Blank /dev/disk0s4
The partition will be erased, you might want to do this with your standard Lion partition as well since you’ll be wiping the entire thing anyway. Regardless, you’ll now have a blank partition sitting around, so you’ll want to merge that with your other Lion partition:

diskutil mergePartitions HFS+ Lion disk0s3 disk0s4
This will merge the two partitions, with disk0s3 absorbing the space from disk0s4 and expanding, it causes data loss so don’t expect this to preserve anything

The next approach is much more invasive because it formats the entire disk.
 
Last edited:
Thank you for responding but I have seen these instructions before. Booting up from a DVD or a seperate drive is the only way to do this because you cannot repair, delete a disc if you're logged on to that disc. What I need are the instructions deleting the disc from in target mode. Hasn't anyone ever done this?
 
The instructions would be the same in target disk mode. Your target drive (the other Mac booted in Target Disk mode) just shows as an external drive, so follow the steps that midijeep listed.
If you have tried following those steps, and you have some difficulty identifying the drive properly, come back here with your questions.
 
Back
Top