Lion Recovery 'Partition'

LastLine

macrumors 65816
Original poster
Aug 24, 2005
1,309
19
Hey everyone,

Apple were very keen on the recovery partition on the main hard drive. I've updated from Snow Leopard - does the recovery partition get created automatically and come into play at the appropriate time, or do I have to do something?
 

mrapplegate

macrumors 68030
Feb 26, 2011
2,818
8
Cincinnati, OH
Hey everyone,

Apple were very keen on the recovery partition on the main hard drive. I've updated from Snow Leopard - does the recovery partition get created automatically and come into play at the appropriate time, or do I have to do something?
You only boot into it when needed. Command-R at startup.
 
Comment

cool11

macrumors 65816
Sep 3, 2006
1,485
131
If I make the install from a dvd, will it create a recovery partition too?

If no, it is ok for me and I'll do it with a dvd to avoid this partition creation.

If yes, will this partition be visible through finder and filesystem? Is it something for the system and I cannot touch it? Lets say delete it or alter it in any way.
 
Comment

LastLine

macrumors 65816
Original poster
Aug 24, 2005
1,309
19
You only boot into it when needed. Command-R at startup.
Oh yeah, I appreciate that bit. I suppose I was checking that it's created automatically by installing Lion - I don't need to run any utility to make one for future use?
 
Comment

talisto

macrumors newbie
Jun 26, 2007
15
12
open up a terminal window and run this:

Code:
diskutil list
You should see a line that says "Apple_Boot Recovery HD", that's the recovery partition, so you'll know you have it. It won't show up in Disk Utility.
 
Comment

xraydoc

macrumors demi-god
Oct 9, 2005
7,557
1,750
192.168.1.1
The recovery partition is created automatically. It's only 650MB, so it likely won't adversely affect your free space at all.
 
Comment

Dalton63841

macrumors 65816
Nov 27, 2010
1,449
6
SEMO, USA
do u have these skills
Well so far "diskutil eraseVolume" is a no-go, as well as "newfs_hfs". To be completely fair they blank that partition, but don't give you the ability to reclaim that space. At the moment I am working with some good old "dd is=/dev/zero of=/dev/disk0s3" magic. I'll get back to ya.

Looks like it is actually pretty simple...
Code:
diskutil list
sudo diskutil mergePartitions JHFS+ Macintosh\ HD disk0s2 disk0s3
This code will erase the Recovery partition, and merge the space back into the first partition. Note that if you have other partitions on the drive this will have to be changed to fit accordingly.

Diskutil list will tell you what the disk numbers are. This command assumes that you have ONLY disk0s1 as EFI, disk0s2 as the root, and disk0s3 as Recovery.

1. "JHFS+" is the format of the partition immediately preceding the Recovery partition, as in Journaled HFS+.
2. "Macintosh\ HD" is the name of the Mac partition. Any space in the name needs the "\" so Terminal can escape the space.
3. "disk0s2" is the disk number of the partition immediately preceding the Recovery partition.
4. "disk0s3" is the disk number of the Recovery partition.

Change these 4 variables to fit your setup.
 
Last edited:
Comment

ZacNicholson

macrumors 6502a
Jun 25, 2011
875
1,070
Indiana
Well so far "diskutil eraseVolume" is a no-go, as well as "newfs_hfs". To be completely fair they blank that partition, but don't give you the ability to reclaim that space. At the moment I am working with some good old "dd is=/dev/zero of=/dev/disk0s3" magic. I'll get back to ya.
i have no clue what this mean but keep me up to date lol
 
Comment

cool11

macrumors 65816
Sep 3, 2006
1,485
131
I don't want any partition in my hard disk.
Can I avoid it while installing lion?
Accept the partition or no way out?
 
Comment

Dalton63841

macrumors 65816
Nov 27, 2010
1,449
6
SEMO, USA
so i typed what you posed and got this.. is this okay?
Yea it is just asking for your user password. Standard procedure on a Unix based OS for something like this.

In fact you have the same drive/parttition setup I have currently. Just enter what I listed earlier, enter your password when it wants, and enjoy.
 
Comment

Similar threads

  • CharCat
1
Replies
1
Views
174
  • wisevot1900
8
Replies
8
Views
1K
  • lokilaufey
0
Replies
0
Views
390
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.