1

What are the FOSS solutions for partition merging in Ubuntu?

  • 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. – Quazi Irfan May 23 '11 at 12:17
1

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.

| improve this answer | |
  • I might sound stupid but what is MD and what is linear volume? – Quazi Irfan Dec 6 '11 at 22:08
  • 1
    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
  • 1
    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. debian-administration.org/articles/410 – ppetraki Dec 6 '11 at 22:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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