Gentoo Archives: gentoo-user

From: Remy Blank <remy.blank@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Moving linux system to another partition
Date: Fri, 08 Jun 2007 16:35:09
Message-Id: f4bvul$mhb$1@sea.gmane.org
In Reply to: [gentoo-user] Moving linux system to another partition by Aleksey Kunitskiy
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Aleksey Kunitskiy wrote:
5 > Is it safe to move my linux system by using:
6 > #>cp -rp /mnt/old_part /mnt/new_part
7 > and approriate changes in grub.conf/fstab on new system location ?
8
9 I have used "rsync -avH" in the past (-H preserves hardlinks), and with
10 more recent versions of rsync (and if you have ACLs or XATTRs), I would
11 use "rsync -avHAX".
12
13 And yes, do ensure that nothing writes to the partition while you're
14 copying, so the best thing is probably to do that from a LiveCD, where
15 the source partition is mounted read-only.
16
17 - -- Remy
18 -----BEGIN PGP SIGNATURE-----
19 Version: GnuPG v1.4.7 (GNU/Linux)
20
21 iD8DBQFGaYMVCeNfIyhvXjIRAnE5AKCJyDKNWh4J44Hats5BeCahIL8ySwCgsqO4
22 Q+LqEzrKkdVaXfsz4OiL7fA=
23 =UgW+
24 -----END PGP SIGNATURE-----
25
26 --
27 gentoo-user@g.o mailing list