I have separate /
and /home
partitions, of which both use ext4 as their filesystem.
How can I merge them, and what is the easiest way?
Merge Partitions – Easiest Way to Merge / and /home Partitions
filesystemhome-directorypartitioning
filesystemhome-directorypartitioning
I have separate /
and /home
partitions, of which both use ext4 as their filesystem.
How can I merge them, and what is the easiest way?
Best Answer
I don't think there's an easier way. You need to copy the data from one partition to the other. You need to delete the old home partition and resize the root partition. That cannot be done on a running system, so a live CD or USB seems like as good as it gets.
/mnt/root
./mnt/oldhome
.Copy the data using
rsync
:Open
/mnt/root/etc/fstab
and delete the entry for your home partition.Gparted
.That should be it.