You are not logged in.

#1 2010-03-20 15:27:38

karlzt
Member
From: orbiting Titan
Registered: 2009-09-12
Posts: 41

merge physical and logical partitions

How do I extend my physical arch partition with an unallocated space logical partition?

I want to add an unallocated space logical partition to a physical partition

or better said I want to grow my existing arch physical partition with the unallocated space logical partition.

Last edited by karlzt (2010-03-20 15:50:31)


----------------------------------------------------------------------------
It is a miracle that curiosity survives formal education. - Einstein

Black holes are nothing but gigantic galactic segfaults

Offline

#2 2010-03-20 17:45:15

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: merge physical and logical partitions

Try GParted.


no place like /home
github

Offline

#3 2010-03-20 19:28:07

karlzt
Member
From: orbiting Titan
Registered: 2009-09-12
Posts: 41

Re: merge physical and logical partitions

How do I do it in gparted?

It seems impossible to do it in gparted.

Last edited by karlzt (2010-03-20 20:34:37)


----------------------------------------------------------------------------
It is a miracle that curiosity survives formal education. - Einstein

Black holes are nothing but gigantic galactic segfaults

Offline

#4 2010-03-20 19:55:31

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: merge physical and logical partitions

It looks like you are trying the nearly impossible because a logical partition is merlely part of a larger split up physical one. Thus the only way to increase your existing physical partition with an (adjacent) logical one would be to shrink the "container" partition which the logical is part of.

I am not sure if this is really is possible without data loss. Perhaps you could try gparted to shrink the logical partition and move it towards the end to make room and then shrink the container one. But I am not sure whether this is feasible at all.


To know or not to know ...
... the questions remain forever.

Offline

#5 2010-03-20 19:59:01

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: merge physical and logical partitions

There is an option to resize a partition somewhere.
I've used that method successfully before but I never converted logical to primary. Maybe it's not possible.
Just try it.


no place like /home
github

Offline

#6 2010-03-20 20:11:09

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: merge physical and logical partitions

I don't think this is possible – I wanted to do the same but didn't want to lose anything, that's why my next re-install will be using LVM.

Offline

#7 2010-03-20 20:21:43

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: merge physical and logical partitions

It is not that easy. You can resize and/or move either physical partitions or locical partitions inside the space of the (physical) "extended partition". But you cannot simply take space from a logical partion and assign it to a physical partition adjacent to the extended partition it is part of. Which means you can extend a physical partion only from free space which you can produce by a prior shrinking/moving another adjacent physical partition.

The problem is, I currently know of no way to shrink an extended partition without losing some of the enclosed logical partition data (or even all logical partions at once). One could try, as a proper backup is advisable in any case before messing around with partitions.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB