I have a Macbook Pro configured to dual boot OSX or Ubuntu. Originally, I split the drive evenly between the two, but as I've been using Ubuntu far more heavily, and I'm running out of space on its partition, I want to reconfigure the partitions to give Ubuntu a greater share of disk space.

I tried using GParted, both running from inside Ubuntu and from GParted's Live CD, but in both I get the following screen:

![GParted Screenshot](https://i.stack.imgur.com/y8PLD.png)

As you can see, Ubuntu has about 72GB of space. I've already shrunk the OSX partition down, leaving about 45GB of free space. I'm trying to expand the Ubuntu partition to include that additional 45GB of space, but GParted won't allow me to, presumably because of that weird "unknown" 1MB partition in the middle. I'm not 100% sure what it is, but the flags for it list "bios\_grub", so I'm assuming it's where rEFIt installed Grub. Unfortunately, GParted won't let me relocate this partition, only delete it (and I'm sure I'd hose my system if I did that).

How can I resize my Ubuntu partition to use my free disk space?