Partition fuckup

Heinz Diehl htd at fritha.org
Fri Jul 26 06:51:11 UTC 2013


On 26.07.2013, Martin Skjöldebrand wrote: 

> / is 50 Gb
> /home is 250 Gb 
 
> I want them the other way round really.
> What would be the best way of trying to achieve this?

This seems quite fine to me. Anyway, if you want to change this, the
easiest way would be to make a backup og both on an external drive,
repartition and copy the data back. You can do that using rsync:

 rsync -avxHSAX / /external-hd/root
 rsync -avxHSAX /home/ /external-hd/home

and the other way round to replay the data. Notice the subsequent "/"
in the source directory.



More information about the users mailing list