Repartitioning after Bootcamp problems When I first got my MacBook Pro, I installed Windows 7 via Boot Camp.

A couple months later I wanted to install Ubuntu and have a triple boot. I followed this tutorial: triple-boot

After I finished following the steps in the tutorial, Windows would not boot (everything else worked fine), so I opened up Disk Utility and decided to remove the Windows partition (because it was setup with Boot Camp). Doing this only created a huge free space where my Windows partition used to be.

Now anything I try to do in Disk Utility displays the error: "Mediakit reports no such partition", even when trying to split up my Mac HD.

How to fix this?
The easiest way I can think of would be to clone the Mac partition and the Ubuntu partition, then repartition the drive, and restore those partitions back.

I don't have any experience with using rEFIt, but I can't think of a reason why this wouldn't work.