Windows – Can’t delete free space partition or merge with other partition

disk-managementgpartedpartitioningubuntu 12.04windows 7

Few days ago i installed Ubuntu 12.04 LTS alongside my Windows 7 64 Bit. I installed Ubuntu through live CD installation, but instead of giving it a partition of 200 GB i gave Ubuntu more than a terabyte and left Windows 7 with 281 GB free space. I corrected this with GParted and reduced the size of sda5 to 216 GiB with help from here. But now i am left with 1.30 TiB unallocated partition which I actually want to add back to my Windows 7 partition. I think that i need to shrink sda4 and then grow sda2 but every time i try to shrink sda4 i get the message from GParted: Can't have overlapping partitions. Can someone guide me through this problem ? Has anyone any idea why i can't expand sda2 ?


GParted Images from Live CD:

The Information of my Partitions (right click and open in new tab)
GParted Partition Information

I have selected sda4 partition
sda4

Now i want to shrink sda4, so that afterwards i can drag sda2 over the unallocated partition.
sda4 shrink

After i click apply i get this error message: Can't have overlapping partitions.
GParted Error Masage


Disk Managment on Windows 7

I tried also the same thing from Windows 7. I wanted to expand my (C:) drive over the free space (Green Color). But first i need to delete free space and change it to unallocated space. The problem is that when i try to delete the free space partition i get the massage: There is not enough space available on the disc(s) to complete this operation. I think this has something to do with Windows having troubles with partition ordering and allowing 0 to maximum 4 primary partitions. So is there no way to do it with Windows Disk Managment ? Maybe with diskpart.exe or some third party software ? Can someone help and guide me through this ?

Disk Management in Windows 7 Partition Informations
Windows 7 DiskManagment

Hear i get the error massage when i try to delete the partition.
not enough space on the disk

Diskpart informatins with primary, logical and extended partitions
diskpart information


After uninstalling Ubuntu i re-installed it and this is how my partitions look now:

partitions after

Best Answer

It looks like in this case you may have to delete the logical drives sda5 and sda6, then delete the extended partition sda4 which will allow you to grow sda2. Then you can reinstall Linux.

Related Question