On Sun, 31 Mar 2019 08:38:43 +0100
Wols Lists <antli...@youngman.org.uk> wrote:

> I'm planning to migrate my system soon, but I'm going to do that a bit
> differently. I'll dd my home partition across (I've got hard-links
> galore, so a cp or rsync or whatever will have massive conniptions).

What's wrong with an "rsync -aH"? This preserves hard links (given that the 
target system
supports them.

I honestly don't think that a dd is necessary. I have copied several times from 
one
harddisk to another with different harddis partition sizes, but with enough 
free space on
the target.

I do the copying by booting a live usb stick, then I mount the source and the 
target
partitions, and issue the rsync command (If you need extended attributes to be 
synced
too, then there is an option for rsync too, e.g. ACL).
rsync -aH --numeric-ids /path/to/source /path/to/target/

Cheers
Andreas

Reply via email to