Gparted resize of an extended partition fails with error "can't have overlapping partitions".

Posted by Marcus on Ask Ubuntu See other posts from Ask Ubuntu or by Marcus
Published on 2012-06-02T15:48:57Z Indexed on 2012/06/03 4:48 UTC
Read the original article Hit count: 528

Filed under:
|
|
|

I just decided to install Ubuntu 12.04 alongside Windows 7 on my Dell laptop. However I didn't do this manually but instead used the "Install Ubuntu alongside Windows 7" option during the installation. Now the partition that Ubuntu runs in has very little space and I am getting warning messages.

I'm trying to use gparted 0.12.1-5 (via a live CD) to give Windows less space and give Ubuntu more. I've managed to remove 100GB from the Windows partition so I now have some unallocated space between Windows and Ubuntu.

This is what it looks like inside Ubuntu (not using the live CD, since it won't let me mount a USB to save a screenshot):

screenshot of gparted showing drive's partitions

So first I take sda4 (extended?) and resize it to the left so it takes up all the unallocated space. Then I resize sda5 (ext4) as well so it takes up all the new space.

However, when I hit apply, it fails on the first action (resizing sd4) with the error message can't have overlapping partitions.

Any ideas as to why this happens? I also tried resizing sda4 by just a few MB so that it definitely didn't overlap anything, but I still got the same error message.

To clarify, I am using gparted from the LiveCD, I just took the screenshot from Ubuntu.

I couldn't attach the details file containing the error information from gparted because I can't mount a USB drive when I'm running from the LiveCD.

I'm tried following the guide on the gparted website but it says Invalid argument or something like that. If the gparted details are needed, I may need some hints on how to solve the USB issue as well. :)

© Ask Ubuntu or respective owner

Related posts about partitioning

Related posts about usb