Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 7, 2011, 09:53 AM   #26
orfeas0
macrumors 6502a
 
Join Date: Aug 2010
Location: Athens, Greece
Quote:
Originally Posted by Mike Boreham View Post
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).
Quote:
Originally Posted by Mike Boreham View Post
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?
Quote:
Originally Posted by Mike Boreham View Post
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.
Quote:
Originally Posted by Mike Boreham View Post
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.
orfeas0 is offline   0 Reply With Quote
Old Dec 7, 2011, 11:35 AM   #27
iWind130290
macrumors member
 
Join Date: Aug 2011
Location: Ha Noi, Viet Nam
Quote:
Originally Posted by mikefla View Post
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?
iWind130290 is offline   0 Reply With Quote
Old Dec 7, 2011, 06:30 PM   #28
Mike Boreham
macrumors 6502a
 
Join Date: Aug 2006
Quote:
Originally Posted by orfeas0 View Post

But if I can make a Lion usb flash drive I'll be fine.
THIS LINK 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.
Mike Boreham is offline   0 Reply With Quote
Old Dec 7, 2011, 07:19 PM   #29
Flyinb
macrumors member
 
Join Date: Jan 2010
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.....
Flyinb is offline   0 Reply With Quote
Old Dec 9, 2011, 01:28 AM   #30
Mike Boreham
macrumors 6502a
 
Join Date: Aug 2006
Quote:
Originally Posted by niksimpsons View Post

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.
Mike Boreham is offline   0 Reply With Quote
Old Dec 9, 2011, 11:50 AM   #31
Weaselboy
Moderator
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Location: California
Quote:
Originally Posted by Mike Boreham View Post
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.

Thumb resize.
Weaselboy is offline   -1 Reply With Quote
Old Dec 30, 2011, 12:40 AM   #32
mcdj
macrumors 604
 
mcdj's Avatar
 
Join Date: Jul 2007
Location: NYC
Quote:
Originally Posted by iWind130290 View Post
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.
mcdj is offline   0 Reply With Quote
Old Dec 30, 2011, 12:44 AM   #33
Mike Boreham
macrumors 6502a
 
Join Date: Aug 2006
Quote:
Originally Posted by mcdj View Post

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?
Mike Boreham is offline   0 Reply With Quote
Old Jan 3, 2012, 03:52 PM   #34
maber23
macrumors newbie
 
Join Date: Sep 2011
This worked for me (I just started from Step 3 because I haven't any Recovery Partition):

http://derflounder.wordpress.com/201...-hd-partition/

Quote:
When updating to 10.7.2, there’s a Lion Recovery Update 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, 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

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
maber23 is offline   0 Reply With Quote
Old Jan 3, 2012, 11:55 PM   #35
davidlv
macrumors 65816
 
Join Date: Apr 2009
Location: Kyoto, Japan
Quote:
Originally Posted by iWind130290 View Post
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!
__________________
MacBook Pro 15" Late 2011, 2.2GHz, 16GB Patriot RAM, 256GB Plextor M5P Xtreme SSD ; Mac Mini 2011 Base model 8GB RAM, 256GB Plextor M5S SSD

Last edited by davidlv; Jan 5, 2012 at 03:46 AM.
davidlv is offline   0 Reply With Quote
Old Jan 22, 2012, 07:45 PM   #36
bdodds1985
macrumors 6502a
 
bdodds1985's Avatar
 
Join Date: Jul 2011
Location: Tartarus
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.
__________________

| Mac Mini | MBP |
bdodds1985 is offline   0 Reply With Quote
Old Jan 23, 2012, 08:05 AM   #37
Weaselboy
Moderator
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Location: California
Quote:
Originally Posted by bdodds1985 View Post
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.

Thumb resize.
Weaselboy is offline   -1 Reply With Quote
Old Jan 30, 2012, 04:12 PM   #38
waltervt
macrumors member
 
Join Date: Jun 2011
Location: Valencia, Spain
Quote:
Originally Posted by Weaselboy View Post
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.

Thumb resize.
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?
waltervt is offline   0 Reply With Quote
Old Jan 30, 2012, 04:32 PM   #39
Weaselboy
Moderator
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Location: California
Quote:
Originally Posted by waltervt View Post
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.
Weaselboy is offline   -1 Reply With Quote
Old Jan 30, 2012, 09:01 PM   #40
Flyinb
macrumors member
 
Join Date: Jan 2010
Just reinstall Lion from app store, plain simple easy
Flyinb is offline   0 Reply With Quote
Old Feb 4, 2013, 02:00 PM   #41
viniciusferrao
macrumors newbie
 
Join Date: May 2009
Just use this command in terminal to fix Apple_Boot Partition Type:

Code:
asr adjust --target /dev/disk0s3 -settype "Apple_Boot"
PS: Fix /dev/diskXsY to your Recovery HD.
viniciusferrao is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Cloning hard drive mariuste Mac Basics and Help 5 Feb 14, 2014 12:02 PM
Need to upgrade 15 MBPs to Mavericks, Missing Recovery Partition vbman213 OS X Mavericks (10.9) 1 Feb 3, 2014 08:07 PM
create recovery partition OSX 10.9 - after cloning disk image joecool99 OS X Mavericks (10.9) 11 Oct 18, 2013 05:12 AM
How can I totally wipe my Mac mini hard drive? (including the recovery partition?) Winter Charm OS X 10.8 Mountain Lion 3 Jul 25, 2012 10:07 PM
Cloning windows partition on to a new macbook from usb drive ei111 Mac Basics and Help 0 Jul 10, 2012 04:19 PM

Forum Jump

All times are GMT -5. The time now is 11:03 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC