Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are the FOSS solutions for partition merging in Ubuntu?

share|improve this question
Gparted, though you shouldn't do anything when the filesystems are mounted – Uri Herrera May 23 '11 at 0:20
"Partition merging"? Like, making one partition with all the files on it from two partitions that each have their own files? I don't think there is a way to do this. – Random832 May 23 '11 at 5:02
there are some commercial software that gives this feature. GPart had it, but i was looking for something different. – iamcreasy May 23 '11 at 12:17

Don't merge, Use MD to create a linear volume to simply concatenate the two partitions. This assumes you've backed up all the data on those partitions, wiped them out, marked them as fs type fd, and delegated them to mdadm. Partition Magic can probably perform the merge too and has support for ext filesystems.

share|improve this answer
I might sound stupid but what is MD and what is linear volume? – iamcreasy Dec 6 '11 at 22:08
It's not a stupid question :). It's the dominant software RAID solution for Linux. Linear is a RAID level which simply concatenates devices together, it provides no fault tolerance. However it is handy for situations such as yours where a disk as several partitions, re-partitioning isn't an option, and you want to make the most of the free space. – ppetraki Dec 6 '11 at 22:14
Another option would be to create an LVM Volume Group that consists of the two partitions. Then you could create a logical volume from that pool of devices you gave it. In retrospect, that's probably the easier of the two to implement. – ppetraki Dec 6 '11 at 22:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.