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

15,068

Solution 1

The last post of this thread http://ubuntuforums.org/showthread.php?t=1980664 solved the problem for me.

When looking at the dialog box for "resize/move dev/sda2" there is an option to change the alignment from MiB to Cylinder - click to change it and... Voilà! To resize my sda1 (windows), I had to switch back to MiB.

Solution 2

This problem appears to be the same as the following bug report:

Bug #678831 - Partition End Overlap when Resizing Extended Partition

https://bugzilla.gnome.org/show_bug.cgi?id=678831

This bug report is scheduled for inclusion in the upstream release of GParted 0.13.0 on Friday, July 13, 2012.

Share:
15,068

Related videos on Youtube

Marcus
Author by

Marcus

Web developer and designer based in the Åland Islands, Finland.

Updated on September 18, 2022

Comments

  • Marcus
    Marcus almost 2 years

    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. :)

    • Lii
      Lii over 11 years
      I have the same problem. Did you find a good work around for when GParded failed with this error?
  • Curtis Gedak
    Curtis Gedak almost 12 years
    The GParted Live 0.13.0-beta1.3 is available upstream now. The stable release of GParted Live is expected a few days after the application release date.