I currently have my laptop partitioned into a Windows partition and a Linux partition. I want to make my Windows 7 partition bigger so I can install a game on it, and so I'm trying to shrink my Linux computer to free up space.
I'm booting from an Ubuntu CD at the moment and using gparted to try to change my partitions.
Previously, what I had was roughly
[W____][[L________]] where W is my Windows partition and L is my Linux partition, which is inside an extended partition
So in order to move space from my Linux partition to my Windows partition, I shrunk L, leaving me with
[W____][U__[L______]] where U is a block of 20 GiB unallocated space, still inside the extended partition that includes my Linux partition.
Now I want to shrink the extended partition to expose the unallocated space, so I can expand my Windows partition into it. Everything up to here works, but this is where I start getting problems. I want something like
but when I try to do this, I get an error saying "Can't have overlapping partitions." I don't see where the overlap is occurring, though.
My end goal is to have something like
where I just have a larger Windows and small Linux partition than I started with.
> fdisk -l
So it doesn't look like there is anything overlapping? Unless I'm just missing something....Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2459647 1228800 7 HPFS/NTFS/exFAT
/dev/sda2 2459648 77815733 37678043 7 HPFS/NTFS/exFAT
/dev/sda3 229586944 248018943 9216000 7 HPFS/NTFS/exFAT
/dev/sda4 77815806 229586943 75885569 5 Extended
/dev/sda5 118775808 223311871 52268032 83 Linux
/dev/sda6 223313920 229586943 3136512 82 Linux swap / Solaris
A screenshot of my gparted is at
The /dev/sda6 (!) thing looks a little sketchy, since the file system is marked as "unknown" and when I right click it and look at the information, it says "Unable to detect file system!"
I'm not sure if this is related, since I'm not trying to move it or anything, but it is inside the extended partition that I am trying to resize (although it is at the end I am not touching), so I don't know if it is somehow the source of my problem.
I've tried searching the forums, and nothing I was able to find seemed to explain why I'm getting this "Can't have overlapping partitions" error every time I try to shrink my sda4, so I'd really appreciate any help people can give me.