PDA

View Full Version : Missing Recovery Partition After Cloning hard drive




mikefla
May 15, 2011, 04:19 PM
I cloned my existing hard drive to a new SSD drive. I was not able to use SuperDuper to do the cloning (which is what I usually use) so I used the alternative Carbon Copy Cloner. However the Recovery partition created by Lion was not copied (I guess because it's a hidden partition). How can I re-create this partition or copy it from my old drive to the new drive? I would just like to have it on the new drive because it's useful for troubleshooting purposes. Thanks.

-Mike



idyllik
May 16, 2011, 04:23 AM
in for info on this too, had to recover after a bad update today and had reformatted the disk and restored via a ccc(pain in the arse if it's a sparcedisk by the way) image

niewiesznic
Jul 23, 2011, 11:11 AM
I also wish it could be done with CCC (carbon copy cloner).
I have allready ask the developer. Waiting for answer to the problem.

sirmacallot
Aug 10, 2011, 02:13 AM
Had to whip my previous Lion installation and after that the recovery HD was gone...
Can one simply recreate the recovery partition?

marc11
Aug 10, 2011, 02:16 AM
My understanding is that if you create a recovery USB drive using the recently released utility from Apple you do not need a recovery partition on your internal drive. Since in case of a failure, the USB recovery would be used instead of your internal recovery with the same net results.

gr8tfly
Aug 10, 2011, 02:29 AM
My understanding is that if you create a recovery USB drive using the recently released utility from Apple you do not need a recovery partition on your internal drive. Since in case of a failure, the USB recovery would be used instead of your internal recovery with the same net results.

Except the tool requires the Recovery HD to be on the drive Lion's installed on. Once you have it on a USB drive, then you don't need it on the internal any longer (though it's only 650MB).

The recovery partition can be copied from your old drive and recreated on the SSD using diskutil, though I haven't tried setting the partition type to Apple_Boot - I'm not sure diskutil takes it and I'm pretty sure it's the partition type telling the system to hide it.

f00f
Aug 10, 2011, 08:45 AM
Except the tool requires the Recovery HD to be on the drive Lion's installed on. Once you have it on a USB drive, then you don't need it on the internal any longer (though it's only 650MB).

The recovery partition can be copied from your old drive and recreated on the SSD using diskutil, though I haven't tried setting the partition type to Apple_Boot - I'm not sure diskutil takes it and I'm pretty sure it's the partition type telling the system to hide it.

You can set it to Apple_Boot using gpt and this is indeed what hides it from GUI apps like disk utility. Apple_Boot is just a hidden version of Apple_HFS; the recovery partition is just an ordinary journaled HFS+ volume that can be manually mounted with diskutil mount disk0s3 (or whatever slice the recovery partition happens to be).

To change a GUID partition type to Apple_Boot one needs to know the UUID -- which for reference is 426F6F74-0000-11AA-AA11-00306543ECAC -- and remove the partition using gpt then re-add it with the desired type. This won't destroy the data of course, but one needs to make a note of the start and size values of the partition (as shown by gpt show) before the remove and then use them when re-adding. See the manual page for gpt. (*Note: the UUID of the recovery slice can be seen on a Lion system that has said slice by issuing a sudo gpt -r show disk0 command; I didn't just pull that one out of the Air... or did I, since it came from my MBA? lol)

FWIW the recovery slice of a Lion install can be copied to any other slice that's 650+ MB by simply using dd. The target partition can be created and formatted using the GUI Disk Utility, then the type changed to Apple_Boot using gpt, then the contents of the source recovery partition dd'd to the target. I dropped my MBA4,2 recovery slice on an external USB disk and booted my wife's 2010 Macbook with it (which I didn't expect to work, TBH).

Lastly, here's a post and corresponding thread (http://forums.macrumors.com/showpost.php?p=13144103&postcount=20) on some weirdness (most likely yet another bug) in regards to how Lion's Disk Utility treats that recovery slice in the case of erasing another slice.

kbmb
Aug 10, 2011, 09:31 AM
The other thing you can do is......wipe the SSD and clean install Lion on it. This will create the Lion install and the Recovery HD.

After it's all set....you can then boot back into your old install and use CCC to clone the Lion partition over the new install. CCC will clone it so anything on the drive that's not needed will be removed.

I tried this on an external and it worked fine. CCC wiped the dummy test account I created on the clean install.

-Kevin

gr8tfly
Aug 10, 2011, 08:08 PM
You can set it to Apple_Boot using gpt and this is indeed what hides it from GUI apps like disk utility. Apple_Boot is just a hidden version of Apple_HFS; the recovery partition is just an ordinary journaled HFS+ volume that can be manually mounted with diskutil mount disk0s3 (or whatever slice the recovery partition happens to be).

To change a GUID partition type to Apple_Boot one needs to know the UUID -- which for reference is 426F6F74-0000-11AA-AA11-00306543ECAC -- and remove the partition using gpt then re-add it with the desired type. This won't destroy the data of course, but one needs to make a note of the start and size values of the partition (as shown by gpt show) before the remove and then use them when re-adding. See the manual page for gpt. (*Note: the UUID of the recovery slice can be seen on a Lion system that has said slice by issuing a sudo gpt -r show disk0 command; I didn't just pull that one out of the Air... or did I, since it came from my MBA? lol)


Thanks - saved me some research ;-) (really - I appreciate it)

I did make my own DMG from the original Recovery HD created by Lion. Made a 650MB partition on an external, and restored to it. Worked just fine, 'cept not hidden. Ironically, I made another partition and did a clean Lion install, just for grins, and now have two Recovery HD partitions - one hidden, of course. I'm just having too much fun :p

WhiteHawk
Aug 11, 2011, 08:53 AM
Just for info, you don't have to clean install to get the Recovery HD back, I reinstalled over my current Lion and got it back.

JohnnyBeGud
Sep 7, 2011, 03:03 PM
You can set it to Apple_Boot using gpt and this is indeed what hides it from GUI apps like disk utility. Apple_Boot is just a hidden version of Apple_HFS; the recovery partition is just an ordinary journaled HFS+ volume that can be manually mounted with diskutil mount disk0s3 (or whatever slice the recovery partition happens to be).

To change a GUID partition type to Apple_Boot one needs to know the UUID -- which for reference is 426F6F74-0000-11AA-AA11-00306543ECAC -- and remove the partition using gpt then re-add it with the desired type. This won't destroy the data of course, but one needs to make a note of the start and size values of the partition (as shown by gpt show) before the remove and then use them when re-adding. See the manual page for gpt. (*Note: the UUID of the recovery slice can be seen on a Lion system that has said slice by issuing a sudo gpt -r show disk0 command; I didn't just pull that one out of the Air... or did I, since it came from my MBA? lol)

FWIW the recovery slice of a Lion install can be copied to any other slice that's 650+ MB by simply using dd. The target partition can be created and formatted using the GUI Disk Utility, then the type changed to Apple_Boot using gpt, then the contents of the source recovery partition dd'd to the target. I dropped my MBA4,2 recovery slice on an external USB disk and booted my wife's 2010 Macbook with it (which I didn't expect to work, TBH).

Lastly, here's a post and corresponding thread (http://forums.macrumors.com/showpost.php?p=13144103&postcount=20) on some weirdness (most likely yet another bug) in regards to how Lion's Disk Utility treats that recovery slice in the case of erasing another slice.

Could you tell me step by step how to do this? This is some serious **** for me

gr8tfly
Sep 7, 2011, 04:22 PM
Through some accidental research (don't asků), I found that Lion's version of Disk Utility will also restore the Recovery HD partition when using DU's Restore to image a Lion Partition. I verified this several times. If there is no Recovery HD, it will recreate an existing one from the source HD to the destination, and will be positioned immediately following the Lion partition.

If no Recovery HD exists in the source, but does in the destination, it will leave the destination alone. For instance, if you have an image of a Lion partition, but for some reason, no Recovery partition, you can do a clean install of Lion on the destination - creating a Recovery partition - then restore your Lion image to the destination (replacing the clean install). It will leave the recovery partition alone at the destination.

If no Recovery HD exists in either source or destination, I don't believe DU will create one - this is one scenario I didn't test.

The only way for the OP to easily move the Recover HD partition, would be to re-clone his original drive using Disk Utility (when started up on the original recovery partition). Otherwise, it can be manually moved and recreated using the steps outlined above. It's a bit tedious, especially if you're not used to command line tools. Just keep your original HD handy as a backup in case something goes awry on the SSD.

bigpoppamac31
Sep 11, 2011, 04:38 PM
Just for info, you don't have to clean install to get the Recovery HD back, I reinstalled over my current Lion and got it back.

How do I reinstall over my current Lion?? Can I do it from the Mac App Store?? I don't have my Recovery HD as well. Not on my internal drive or external clone.

WhiteHawk
Sep 12, 2011, 06:43 AM
How do I reinstall over my current Lion?? Can I do it from the Mac App Store?? I don't have my Recovery HD as well. Not on my internal drive or external clone.

Yes from the App Store, if you go to Purchased, then while holding your Option key click on OS X Lion, it will show Install instead of Installed on the Lion page so you can download it again.

Fofer
Sep 13, 2011, 11:37 AM
I am about to clone my Lion drive as well (to a smaller, but faster drive) and have been doing research about how to preserve the recovery partition.

I was thinking I might do a clean install of Lion on the new drive (this also installs the recovery partition) and then using Migration Assistant to pull over all my apps, data and prefs.

You can also recreate this partition after the fact, using Apple's "Lion Recovery Disk Assistant" tool. (http://support.apple.com/kb/HT4848) No need to reinstall Lion.

johnhurley
Sep 13, 2011, 12:11 PM
I am about to clone my Lion drive as well (to a smaller, but faster drive) and have been doing research about how to preserve the recovery partition.

I was thinking I might do a clean install of Lion on the new drive (this also installs the recovery partition) and then using Migration Assistant to pull over all my apps, data and prefs.


At the end of the Lion install it asks you if you want to transfer things ... at that point you can point to a time machine backup and get all the stuff setup at the tail end of the clean OS install ( and the recovery partition is out there ).

gr8tfly
Sep 13, 2011, 05:11 PM
I am about to clone my Lion drive as well (to a smaller, but faster drive) and have been doing research about how to preserve the recovery partition.

I was thinking I might do a clean install of Lion on the new drive (this also installs the recovery partition) and then using Migration Assistant to pull over all my apps, data and prefs.

You can also recreate this partition after the fact, using Apple's "Lion Recovery Disk Assistant" tool. (http://support.apple.com/kb/HT4848) No need to reinstall Lion.

If you use Lion's Disk Utility to clone your Lion partition (using DU's Restore), your Recovery HD partition will be cloned automatically to the destination HD. (You can startup on your current Recovery HD, and use its version of DU to do your "cloning" using the Restore feature.)

A note on Apple's "Lion Recovery Disk Assistant" - it will only recreate the Recovery HD partition to a USB drive - it doesn't work on the internal or Firewire drives. I suppose the reason is to promote USB flash drives, but whatever the reason, it limits its utility.

jcypher
Sep 14, 2011, 09:36 PM
Because without the "Recovery HD" partition, your lion will refuse to do the partition encryption that is so wonderful!(a.k.a. "whole disk encryption" even though it isn't quite whole disk encryption)

So just pop open a terminal and say:

$ diskutil list

...and you should see your Apple_Boot Recovery HD partition. If not, you can be a bit sadistic and create it manually like the above posts suggest, or just be lazy and reinstall lion from that external drive you should have prepared with your handy lion installer. Of course, you'll have to reinstall patches, but that way it's point-and-click easy.

orfeas0
Dec 6, 2011, 05:10 PM
Yes from the App Store, if you go to Purchased, then while holding your Option key click on OS X Lion, it will show Install instead of Installed on the Lion page so you can download it again.

I did that and the Lion download was at ▒70% when I last checked. Then around half an hour later I checked again and there was no sign of me ever downloading it... It just disappeared, from launchpad and the app store.
I'll let it download again and see if it works.
:apple: If it does, do I just reinstall Lion (over my existing partition, without losing my files) and recover my recovery partition?
:apple: My partition table is like this:
553.7mb free space
39gb disk0s3 (osx Lion)
20.6gb BOOTCAMP (win7)
Will that be a problem with the creation of the recovery partition? If yes, proceed to the following:

:apple: Although I wouldn't mind just making a bootable Lion usb instead of an internal partition, is that easy to do?
:apple: If yes, how much space do I need ?
:apple: And can I use a torrent version (in case the app store download doesn't work), or will it have a different (illegal) cd-key?
:apple: Or does it validate based on my serial number?

Sorry for the plenty questions but I want to have a safe installation in case anything happens.

Mike Boreham
Dec 7, 2011, 12:14 AM
There are three ways to recover the Recovery partition:

1. Re-Run the full installer (NOT the combo updater). You can run this on top of existing install without losing anything. it is not like an erase then install.

2. Use the Disk Center option in Carbon Copy Cloner. If you can boot from any disk which already has a Recovery Partition this will create a Recovery partition on the destination disk without altering anything already there. It creates a new invisible partition and clones the Recovery partition. This is a quite separate operation from cloning the Lion partition.

I have done both the above many times completely successfully, but haven't personally used the third method which is mentioned above...

3. Use Apples Lion Recovery Disk Asssitant. THis is like method 2, needs a an existing Recovery partition to copy, according the notes.

Caveat: When I have successfully run the full installer on top of the existing install, there have been no other partitions on the disk, e.g. Bootcamp. can't vouch for this case.

For my MacBook pro which has a Bootcamp partition, I boot from a Paragon Hard Drive Manager recovery CD to clone the clone whole HD (Lion, Win7, Recovery Partition etc) onto the back up or new disk. Paragon is a must in my view for anyone with Bootcamp who wants to back it up or swop/resize HDs and partitions involving Bootcamp.

Fofer
Dec 7, 2011, 12:30 AM
2. Use the Disk Center option in Carbon Copy Cloner. If you can boot from any disk which already has a Recovery Partition this will create a Recovery partition on the destination disk without altering anything already there. It creates a new invisible partition and clones the Recovery partition. This is a quite separate operation from cloning the Lion partition.


Can you elaborate on this? How do you use this option? I go to Disk Center in CCC and this is all I see:

http://www.fofer.com/sharedimages/Disk_Center-20111206-222902.jpg

Mike Boreham
Dec 7, 2011, 12:35 AM
CCC version 3.4.4 b1 gives this window:

I am pretty certain this was in the regular 3.4.4, not just beta, but might be wrong about this.

Fofer
Dec 7, 2011, 12:38 AM
CCC version 3.4.4 b1 gives this window:

I am pretty certain this was in the regular 3.4.4, not just beta, but might be wrong about this.

Thanks, I got it. 3.4.3 is the currently released version. This is a new feature in 3.4.4b1:

http://www.fofer.com/sharedimages/Software_Update-20111206-223654.jpg

3.4.4 is not released yet, that's what this b1 release is meant to be testing.

Mike Boreham
Dec 7, 2011, 12:39 AM
This would have been a better screen shot to use as it shows the target being a disk without a Recovery partition and the window has the words saying what it will do:

Mike Boreham
Dec 7, 2011, 12:43 AM
3.4.4 is not released yet, that's what this b1 release is meant to be testing.

Thanks for clarifying, glad you got it. Guess it won't be long before Superduper catches up.

orfeas0
Dec 7, 2011, 08:53 AM
There are three ways to recover the Recovery partition:

1. Re-Run the full installer (NOT the combo updater). You can run this on top of existing install without losing anything. it is not like an erase then install.

I just tried to install Lion over my existing partition but after the restart it said it couldn't do it and I should visit www.apple.com/support/no-partition .
(more specifically, it couldn't create the recovery partition).

2. Use the Disk Center option in Carbon Copy Cloner. If you can boot from any disk which already has a Recovery Partition this will create a Recovery partition on the destination disk without altering anything already there. It creates a new invisible partition and clones the Recovery partition. This is a quite separate operation from cloning the Lion partition.

I have done both the above many times completely successfully, but haven't personally used the third method which is mentioned above...

I can't boot from a disk with a recovery partition since I don't have a disk like that. Can I create a bootable usb flash drive? If yes, how/with which apps?

3. Use Apples Lion Recovery Disk Asssitant. THis is like method 2, needs a an existing Recovery partition to copy, according the notes.
same as above, no existing recovery partition.

Caveat: When I have successfully run the full installer on top of the existing install, there have been no other partitions on the disk, e.g. Bootcamp. can't vouch for this case.
I have a boot camp partition and that's probably it can't create a recovery one...

But if I can make a Lion usb flash drive I'll be fine.

iWind130290
Dec 7, 2011, 10:35 AM
I cloned my existing hard drive to a new SSD drive. I was not able to use SuperDuper to do the cloning (which is what I usually use) so I used the alternative Carbon Copy Cloner. However the Recovery partition created by Lion was not copied (I guess because it's a hidden partition). How can I re-create this partition or copy it from my old drive to the new drive? I would just like to have it on the new drive because it's useful for troubleshooting purposes. Thanks.

-Mike

You can use Disk Utility to restore the RecoveryHD partition to a small partition of your new hard drive. Follow this:
Step 1: As we know, RecoveryHD partition is hidden on your old hard drive. This step will help you to make it show up in DiskUtility. Open Terminal and type: defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 . Once you entered the command, open DiskUtility and look at the topbar. There's a new menu Debug . Click on it and choose Show Every Partitions. Once you've done this step the RecoveryHD partition is shown up and you go forward to Mount it.
Step 2: Use DiskUtility to create a new partition on your new hard drive (larger than 650MB).
Step 3: Use DiskUtility to restore the RecoveryHD to the new partition you create in step 2. Done?

Mike Boreham
Dec 7, 2011, 05:30 PM
But if I can make a Lion usb flash drive I'll be fine.

THIS LINK (http://www.macworld.com/article/161069/2011/07/make_a_bootable_lion_installer.html)tells you how to create a Recovery drive on a USB with the installer actually on the USB stick. The regular Recovery partition has a reinstall option which initiates a download or the 4Gb installer.

I put mine on an 8Gb stick.

Flyinb
Dec 7, 2011, 06:19 PM
AS someone stated before just simply reinstall Lion again from app store and it will be there with all apps, docs, music, everything you had before. I had to do this on 4 of my MBP's after installing new ssd's.

Simply easy, done.....

Mike Boreham
Dec 9, 2011, 12:28 AM
Carbon Copy Cloner -- This popular cloning tool can perform both file-level and block-level cloning.
Winclone -- Most Mac cloning tools will not specify Boot Camp partitions, whereas this tool does.

But Carbon Copy Cloner 3.4.4 b1 can now create the partition and file-level clone just the Recovery partition. See earlier posts. This is currently unique. I haven't actually tried CCC in block level mode to see if it would copy the Recovery HD, but I suspect not because the main interface only allows you chose partitions, not whole HDs. The Recovery partition is separate from the OS partition, and not seen by CCC, so can't be selected even for block level. CCC now warns you if you are about to attempt a clone which will result in there being no Recovery HD on the destination.

Winclone was a fanatastic app for managing Bootcamp before support was dropped by its maker after Windows 7 problems. Since Lion someone else is trying to support it without the code, with mixed success (none for me). It won't handle Recovery partitions of course.

Other device copy apps which copy absolutely everything on the disk, which I have tried have been Drive Genius and CopycatX. Both these have worked for me but I have also had the odd failure.

Weaselboy
Dec 9, 2011, 10:50 AM
But Carbon Copy Cloner 3.4.4 b1 can now create the partition and file-level clone just the Recovery partition. See earlier posts.

I did not notice this update. It is a nice added feature.

https://img.skitch.com/20111209-mit437uyapqnstabiry7qg4ckj.jpg

mcdj
Dec 29, 2011, 11:40 PM
You can use Disk Utility to restore the RecoveryHD partition to a small partition of your new hard drive. Follow this:
Step 1: As we know, RecoveryHD partition is hidden on your old hard drive. This step will help you to make it show up in DiskUtility. Open Terminal and type: defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 . Once you entered the command, open DiskUtility and look at the topbar. There's a new menu Debug . Click on it and choose Show Every Partitions. Once you've done this step the RecoveryHD partition is shown up and you go forward to Mount it.
Step 2: Use DiskUtility to create a new partition on your new hard drive (larger than 650MB).
Step 3: Use DiskUtility to restore the RecoveryHD to the new partition you create in step 2. Done?

Just in case anyone else found these instructions and wants to try them, I would strongly advise against it.

I recently bought a new SSD. I cloned my old 10.7.2 drive to it, not realizing that the Recovery HD would not come for the ride. I followed the above instructions, created a 1gb partition on the SSD, fired up my old drive, used DU to restore the old Recovery HD to the new 1gb partition, rebooted, and voila, I was able to boot into the newly created Recovery HD.

Great, right? WRONG. After verifying the Recovery HD worked ok, I restarted and now my Lion install is completely hosed...circle slash. I tried repairing permissions, disk repair, I even re-cloned the Recovery HD using the latest beta of CCC. No dice.

Now I'm faced with reinstalling Lion.

Mike Boreham
Dec 29, 2011, 11:44 PM
Now I'm faced with reinstalling Lion.

No backup then?

Sorry I am sure you are regretting it now. Why not keep your old drive as a backup?

maber23
Jan 3, 2012, 02:52 PM
This worked for me (I just started from Step 3 because I haven't any Recovery Partition):

http://derflounder.wordpress.com/2011/10/22/removing-and-rebuilding-a-malfunctioning-recover-hd-partition/

When updating to 10.7.2, there’s a Lion Recovery Update (http://support.apple.com/kb/DL1464) that goes along with it. This is meant to update your Recover HD recovery partition to 10.7.2 along with your Mac. However, when I tried updating, I could see from the logs that for whatever reason, my Recovery HD was staying at 10.7.1 and was not being successfully updated. As the new Find My Mac functionality in iCloud relies on Recovery HD being updated to 10.7.2, I wanted to be able to fix this problem without having to reinstall or reimage my Mac. Fortunately, thanks to the work of Clay Caviness at Google (https://plus.google.com/108724035107725322855/posts/Y33cF3cJR9o), there’s a way to rebuild your recovery partition (at least for 10.7.2) on a Mac that doesn’t have one. I did have one, but I knew how to fix that. See below the jump for the procedure.


Note: All commands shown are single lines.

Step One: Make a full backup of your boot drive.

This is absolutely the most important step of this process. Any time you’re moving partitions around, stuff can go wrong. Making a backup beforehand can turn a later “Something went wrong” moment from a crisis into a less-bad inconvenience.

Step Two: Remove the existing Recovery HD recovery partition

1. Get the disk identifier of your recovery partition by running the following command:


diskutil list

2. Once you’ve identified the entry, then remove it by running the following command. (In this case, I’ll be using disk0s4 for the recovery partition and disk0s3 for the main boot partition.):


diskutil eraseVolume HFS+ ErasedDisk /dev/disk0s4

3. Next, merge the recovery and boot partitions together to create one partition (the MacHD identifier is to give the partition a new name; your existing boot drive name shouldn’t be changed by this process):


diskutil mergePartitions HFS+ MacHD disk0s3 disk0s4

Step Three: Rebuilding the recovery partition:

1. Download the Lion Recovery Update from http://support.apple.com/kb/DL1464 (http://support.apple.com/kb/DL1464)

2. Run the following commands to attach the correct disk image and rebuild the recovery partition:


hdiutil attach RecoveryHDUpdate.dmg

pkgutil --expand /Volumes/Mac\ OS\ X\ Lion\ Recovery\ HD\ Update/RecoveryHDUpdate.pkg /tmp/RecoveryHDUpdate

hdiutil attach /tmp/RecoveryHDUpdate/RecoveryHDUpdate.pkg/RecoveryHDMeta.dmg

/tmp/RecoveryHDUpdate/RecoveryHDUpdate.pkg/Scripts/Tools/dmtest ensureRecoveryPartition / /Volumes/Recovery\ HD\ Update/BaseSystem.dmg 0 0 /Volumes/Recovery\ HD\ Update/BaseSystem.chunklist

At this point, you will see a large amount of code fly by as the recovery partition is rebuilt. It should end with Creating recovery partition: finished

The next set of commands is clean-up and making the system recognize the updated recovery partition.


hdiutil eject /Volumes/Recovery\ HD\ Update
hdiutil eject /Volumes/Mac\ OS\ X\ Lion\ Recovery\ HD\ Update
sudo touch /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
sudo kextcache -f -u /

Once finished, restart your Mac and verify that you can boot to Recovery HD. To verify that your Recovery HD is now on 10.7.2, open the Terminal (available from the Utilities menu when booted from the Recovery HD partition,) and run the following command:


sw_vers

The following information should be displayed:


ProductName: Mac OS X
ProductVersion: 10.7.2
BuildVersion: 11C74

davidlv
Jan 3, 2012, 10:55 PM
You can use Disk Utility to restore the RecoveryHD partition to a small partition of your new hard drive. Follow this:
Step 1: As we know, RecoveryHD partition is hidden on your old hard drive. This step will help you to make it show up in DiskUtility. Open Terminal and type: defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 . Once you entered the command, open DiskUtility and look at the topbar. There's a new menu Debug . Click on it and choose Show Every Partitions. Once you've done this step the RecoveryHD partition is shown up and you go forward to Mount it.
Step 2: Use DiskUtility to create a new partition on your new hard drive (larger than 650MB).
Step 3: Use DiskUtility to restore the RecoveryHD to the new partition you create in step 2. Done?
I followed these instructions and was successful in creating the Recovery HD on my external drive (a clone of the Lion partition). However, the Recovery HD partition was mounting on every reboot, i.e., not quite the same as the original "invisible" Recovery HD partition. I gave up on this, deleted the Recovery HD partition, and used the latest beta of CCC (must reboot after updating the app from the menu option) which worked perfectly. Great piece of software!

bdodds1985
Jan 22, 2012, 06:45 PM
what if i have the lion thumb drive and want to erase the recovery partition from my hd? i would like to transfer everything from my from one ssd to another and erase the recovery in the process.

Weaselboy
Jan 23, 2012, 07:05 AM
what if i have the lion thumb drive and want to erase the recovery partition from my hd? i would like to transfer everything from my from one ssd to another and erase the recovery in the process.

Once you boot from the thumb drive and get to the opening screen, go to the Utilities menu and select Disk Utility. From there select the drive to reformat as shown in my screen cap. Note you are selecting the entire drive to format here and not just the Macintosh HD partition below it. Once you select the drive go to the Erase tab in Disk Util and reformat the drive to Mac OS Extended (Journaled). That will reformat the entire drive and overwrite the Recovery Partition. A new recovery partition will be created once you install Lion.

https://img.skitch.com/20120123-8wa9qj5et2u2q7849d9pd4f3k9.jpg

waltervt
Jan 30, 2012, 03:12 PM
Once you boot from the thumb drive and get to the opening screen, go to the Utilities menu and select Disk Utility. From there select the drive to reformat as shown in my screen cap. Note you are selecting the entire drive to format here and not just the Macintosh HD partition below it. Once you select the drive go to the Erase tab in Disk Util and reformat the drive to Mac OS Extended (Journaled). That will reformat the entire drive and overwrite the Recovery Partition. A new recovery partition will be created once you install Lion.

https://img.skitch.com/20120123-8wa9qj5et2u2q7849d9pd4f3k9.jpg

Based on what you said, if I want to reinstall (clean) Lion and keep the recovery partition, I'll boot from the thumb drive and erase just the Mac HD. That should give me a clean install of Lion and keep the partition, right?

Weaselboy
Jan 30, 2012, 03:32 PM
Based on what you said, if I want to reinstall (clean) Lion and keep the recovery partition, I'll boot from the thumb drive and erase just the Mac HD. That should give me a clean install of Lion and keep the partition, right?

Yes, but either way would still give you the recovery partition.

Flyinb
Jan 30, 2012, 08:01 PM
Just reinstall Lion from app store, plain simple easy

viniciusferrao
Feb 4, 2013, 01:00 PM
Just use this command in terminal to fix Apple_Boot Partition Type:

asr adjust --target /dev/disk0s3 -settype "Apple_Boot"

PS: Fix /dev/diskXsY to your Recovery HD.