Gentoo Archives: gentoo-user

From: Andreas Fink <finkandreas@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NVM on Gentoo Linux?
Date: Sun, 31 Mar 2019 08:08:27
Message-Id: 0LvSPv-1gkyAQ46j5-010Yth@smtp.web.de
In Reply to: Re: [gentoo-user] NVM on Gentoo Linux? by Wols Lists
1 On Sun, 31 Mar 2019 08:38:43 +0100
2 Wols Lists <antlists@××××××××××××.uk> wrote:
3
4 > I'm planning to migrate my system soon, but I'm going to do that a bit
5 > differently. I'll dd my home partition across (I've got hard-links
6 > galore, so a cp or rsync or whatever will have massive conniptions).
7
8 What's wrong with an "rsync -aH"? This preserves hard links (given that the target system
9 supports them.
10
11 I honestly don't think that a dd is necessary. I have copied several times from one
12 harddisk to another with different harddis partition sizes, but with enough free space on
13 the target.
14
15 I do the copying by booting a live usb stick, then I mount the source and the target
16 partitions, and issue the rsync command (If you need extended attributes to be synced
17 too, then there is an option for rsync too, e.g. ACL).
18 rsync -aH --numeric-ids /path/to/source /path/to/target/
19
20 Cheers
21 Andreas

Replies

Subject Author
Re: [gentoo-user] NVM on Gentoo Linux? Wols Lists <antlists@××××××××××××.uk>