Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrongly made two partitions with Boot Camp in the following way:

enter image description here

I found many solutions around the web but I don't want to lose any data from my hard drive.

How can I merge the partitions via terminal or any program?

share|improve this question
Is there any data on "Untitled"? If not, then you can use Disk Utility to delete it, then append the freed space to Macintosh HD. – zneak Jul 30 '10 at 3:46
Have you tried using Boot Camp to remove the partition yet? – Chealion Jul 30 '10 at 6:42
up vote 6 down vote accepted

Using the Disk Utility will not erase anything from Macintosh HD.

First, copy any file there can be on Untitled to Macintosh HD that you don't want to lose (if there's nothing on Untitled, proceed).

Open the Disk Utility (it's in /Applications/Utilities). In the left bar, select your hard drive. From there, click the "Partition" tab in the right pane.

Select the drive

You'll see the "physical" partitioning of your drive there.

alt text

Select your Untitled partition, and click the minus sign. The Disk Utility will ask you to confirm your choice, and will tell you that no other partition will be affected. Proceed.

alt text

(No more screenshots from here, because I didn't want to delete my Windows partition.) Once done, drag the bottom-right corner of your Macintosh HD drive to the bottom of the rectangle, and click "Apply". Disk Utility will possibly ask you to confirm again.

Job's done!

share|improve this answer
done ! Thanks =D – Ye Lin Aung Jul 31 '10 at 15:30
@mgpyone: You're welcome :) – zneak Jul 31 '10 at 17:45
It's never too much to say this: always, always do a backup before messing up with partitions. – cregox Nov 2 '10 at 1:59

Your Answer


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.