Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have 2 partitions, I reduced the size of one and want to expand the other to fill the now available space.

How do I expand the Lion Partition into the empty grey space beneath Macintosh HD partition?

Disk Utility

share|improve this question
add comment

4 Answers

up vote 5 down vote accepted

You can't change where each partition starts (i.e. where the top of it is in the partition diagram), only where it ends. But in your case, since you have a free block as large as the partition you want to change, you can work around it (warning, this is untested under Lion, so make sure you have a good backup first):

  1. Create a new volume in the blank space between your two existing partitions. Give it a distinctive name (you won't want to mix it up with either of your current partitions).
  2. Boot from the Lion restore partition (boot with the option key held down, and select Recovery HD from the icon list and then click on the arrow under it).
  3. Run Disk Utility.
  4. Select one of the volumes in the sidebar, then the Restore tab on the right.
  5. Drag Lion Partition into the Source field, and the new blank partition into the Destination field. Do not get them backwards!
  6. Click Restore, and wait for it to clone the partition's contents.
  7. Quit Disk Utility, then choose Startup Disk from the Apple menu.
  8. Select the new partition (it may be difficult to tell it from the original, as they're now both named "Lion Partition").
  9. Reboot, and verify that everything is working right before proceeding.
  10. Run Disk Utility, delete the original Lion Partition and expand the new one into the newly freed space.
share|improve this answer
    
Thank you! I will give this a shot once I can afford the downtime of the clone, I assume it will be a lengthy process. I'll accept the answer upon verifying it works. –  Chris Wagner Jul 21 '11 at 17:27
    
Right, it'll take a while (depending on volume size and disk speed), although not as long as you might expect. Do allocate time for a good backup first, though; this should work, but there are no guarantees... –  Gordon Davisson Jul 21 '11 at 18:34
    
Ok so I followed most of the steps and it worked perfect. I ended up expanding "Macintosh HD" and got everything that I needed off of that partition, then I cloned "Lion Partition" to it. Worked great for me, thanks for the guidance. Oh and if anyone is curious it took about an hour. –  Chris Wagner Jul 25 '11 at 21:28
    
I was asking the same question because after doing a new clean installation of mountain lion I decide to put order and moving my home directory to a new partition but I failed to decide the space so I am in the your exact same situation. I'm trying your steps and I think this is going to work! Thanks:) nice catch! –  Kreker Jul 28 '12 at 13:41
add comment

I had the same problem too. I had upgraded Snow Leopard to Lion, but then found out some of my apps would not run in Lion. So i created another partition and installed Snow Leopard on it so I could dual boot between Lion and Snow Leopard. The problem was that I didn't leave enough room on my Lion partition to work with some video editing I was doing. So I tried to enlarge my Lion partition and reduce my Snow Leopar partition but had no success.

I thought that if I deleted my Snow Leopard partition that I would be able to resize my Lion partition to use the entire drive. That didn't work.

So I tried to boot from the Lion Recovery Partition, but when I tried to apply the changes of resizing my Lion partition it would fail withe a message that it couldn't unmount the drive.

But here is what I did that FINALLY worked (and this was while booted into my normal Lion partition):

- Enter the following command into Terminal
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1

- Open Disk Utility

- Now there is a DEBUG menu at the top.  Go DEBUG and select SHOW EVERY PARTITION

- Now you will see the RECOVERY HD partition under your LION partition.

- Select the RECOVERY HD partition and click MOUNT at the top

- Now you can expand your LION partition

My guess is that since Disk Utility couldn't see the hidden recovery partition and since that partition is physically AFTER the Lion partition it could not resize. But by mounting the hidden Recover Partition, then Disk Utility was able to move the Recovery Partition and expand the Lion partition.

Now I just need to create a partian to reinstall snow leopard into ( I will make it smaller this time so I have more room on my Lion partition).

Hope this helps.

And here's a link to the article I used to find out how to show the hidden partion: Here

share|improve this answer
add comment

Tried this out and it worked... almost. Only glitch is that the Lion Recovery Partition (Hidden) which gets copied to the new Lion partition is still on the original Lion Partition. As a result, Disk Utility will not delete the old Lion partition and you can't merge it with the new one. I found a solution on OSXdaily.

http://osxdaily.com/2011/06/30/deleting-the-mac-os-x-10-7-lion-recovery-hd-partition/

You have to use diskutil from the terminal window to remove the old Recovery partition. Then you can go back into the GUI for disk utility and merge the old with the new to recapture the space.

share|improve this answer
add comment

If any of you happen to have had a Bootcamp partition and some unpartitioned space, you can use the Bootcamp assistant to delete the Windows partition and it will automatically expand your OSX partition to fill up all of the space on your drive, effectively getting rid of the unpartitioned space. I tried simply expanding my OSX partition as described above but with no luck.

share|improve this answer
    
But isn't thee bootcamp partition at the end of the disk so you are extending down - the question is how to expand up –  Mark Mar 12 '13 at 1:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.