You are not logged in.

#1 2016-12-14 16:34:41

Lizard
Member
Registered: 2016-12-13
Posts: 43

[Solved] overlapping partitions error in Gparted

I downloaded Gparted livecd and booted into it, I want to extend root partition which is overloaded, and when I run Gparted it return an error "overlapping partition" and quit.
I googled the problem and it seems I have a primary partition inside an extended partition, which cause the problem.
The thing is the arrangement of my partitions:

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048  20973567  20971520    10G 83 Linux
/dev/sda2       163842304 488397167 324554864 154.8G  7 HPFS/NTFS/exFAT
/dev/sda3        20973568  29362175   8388608     4G 83 Linux
/dev/sda4        29362176 163842303 134480128  64.1G  5 Extended
/dev/sda5       131567616 162498559  30930944  14.8G 83 Linux

sda1 is my system, sda4 is the extended which containing the sda5 (primary), which is the same as /home
==
the problem is that, I have to backup my data on /home, and change sda5 from primary to logical, then restore data (from boot).
I have the following questions:
1- what is the best backup manager that run on boot? I tried Clonzilla and it's complicated.
2- the process of changing primary into logical, how to do it? and would it take a lot of time?
3- is there possibility of data loss? or system corruption?
4- would you suggest any other methods or procedures?

Last edited by Lizard (2016-12-15 13:09:45)

Offline

#2 2016-12-14 18:09:22

frostschutz
Member
Registered: 2013-11-15
Posts: 1,658

Re: [Solved] overlapping partitions error in Gparted

What says `parted /dev/sda unit s print free`?

By looks of things your extended partition has 64G but only 15G used by sda5. If so you should be able to create a new partition in the empty space and move your root partition over there. Or alternatively kill sda3 (presumably, swap?), that way you could give sda1 an extra 4G if that's all you need (and create a new logical swap partition).

Offline

#3 2016-12-14 21:35:27

gedakc
Member
Registered: 2016-12-14
Posts: 2

Re: [Solved] overlapping partitions error in Gparted

You might take a look at How-to Fix Invalid MSDOS Partition Tables.  More specifically at the section How-to Fix Overlapping Partitions.

Offline

#4 2016-12-15 13:09:09

Lizard
Member
Registered: 2016-12-13
Posts: 43

Re: [Solved] overlapping partitions error in Gparted

frostschutz wrote:

What says `parted /dev/sda unit s print free`?

By looks of things your extended partition has 64G but only 15G used by sda5. If so you should be able to create a new partition in the empty space and move your root partition over there. Or alternatively kill sda3 (presumably, swap?), that way you could give sda1 an extra 4G if that's all you need (and create a new logical swap partition).

64G is unallocated space created while paritioning with gparted, which failed, which left me with this unallocated space.
However, I have deleted the whole arch and reinstalled it again with larger volume. problem solved

Offline

Board footer

Powered by FluxBB