public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Remy Blank <remy.blank@pobox.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Moving linux system to another partition
Date: Fri, 08 Jun 2007 18:25:57 +0200	[thread overview]
Message-ID: <f4bvul$mhb$1@sea.gmane.org> (raw)
In-Reply-To: <200706081805.00549.alexey.kv@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aleksey Kunitskiy wrote:
> Is it safe to move my linux system by using:
> #>cp -rp /mnt/old_part /mnt/new_part
> and approriate changes in grub.conf/fstab on new system location ?

I have used "rsync -avH" in the past (-H preserves hardlinks), and with
more recent versions of rsync (and if you have ACLs or XATTRs), I would
use "rsync -avHAX".

And yes, do ensure that nothing writes to the partition while you're
copying, so the best thing is probably to do that from a LiveCD, where
the source partition is mounted read-only.

- -- Remy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGaYMVCeNfIyhvXjIRAnE5AKCJyDKNWh4J44Hats5BeCahIL8ySwCgsqO4
Q+LqEzrKkdVaXfsz4OiL7fA=
=UgW+
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2007-06-08 16:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08 15:05 [gentoo-user] Moving linux system to another partition Aleksey Kunitskiy
2007-06-08 15:18 ` Hemmann, Volker Armin
2007-06-08 15:48   ` Alan McKinnon
2007-06-08 15:59     ` Albert Hopkins
2007-06-08 16:21       ` Aleksey Kunitskiy
2007-06-08 16:43     ` Tim Allingham
2007-06-08 18:52       ` Hans-Werner Hilse
2007-06-09 18:25         ` Tim Allingham
2007-06-11  7:24         ` Mick
2007-06-11  8:58           ` Hans-Werner Hilse
2007-06-11 15:18             ` Randy Barlow
2007-06-11 14:54               ` Alan McKinnon
2007-06-11 15:00               ` Hans-Werner Hilse
2007-06-08 22:38     ` Dale
     [not found]   ` <200706081839.07324.alexey.kv@gmail.com>
2007-06-08 15:59     ` Mauro Faccenda
2007-06-08 15:54 ` Albert Hopkins
2007-06-08 16:01   ` Mauro Faccenda
2007-06-08 18:09     ` Benno Schulenberg
2007-06-08 16:25 ` Remy Blank [this message]
2007-06-09  8:45 ` Vladimir Rusinov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f4bvul$mhb$1@sea.gmane.org' \
    --to=remy.blank@pobox.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox