Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 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.

share|improve this answer
    
I might sound stupid but what is MD and what is linear volume? –  iamcreasy 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
add comment

Your Answer

 
discard

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.