public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kacper Kopczyński" <capsel@matrix.inten.pl>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Moving the system from one disk to another
Date: Mon, 5 Apr 2010 01:51:56 +0200	[thread overview]
Message-ID: <20100405015156.35c47be3@matrix.inten.pl> (raw)
In-Reply-To: <20100404210403.7d895c29@digimed.co.uk>

Dnia 2010-04-04, o godz. 21:04:03
Neil Bothwick <neil@digimed.co.uk> napisał(a):

> On Sun, 04 Apr 2010 20:35:11 +0100, Kerin Millar wrote:
> 
> > Whichever way you go about it, ensure that no pseudo-filesystem or
> > bind mounts are present within "/mnt/oldrootfs" at the time.
> 
> Use the -x option with rsync to stop it descending into other
> filesystems.
> 
> 

AFAIK

"mount --bind / /somewhere" and rsync'ing /somewhere/ instead of / would
be more useful then "-x" option - stage1,2,3 has static /dev entries
which should also be copied. Since udev mounts it with tmpfs, rsync
with -x would skip those entries (static and from tmpfs).

I suppose you can ignore static /dev if you use initrd.

Since author of this thread wants to mount filesystem(s) of "the
system" from livecd of some kind, there is no point in using any of
ideas in this or previous email - there will be no other filesystems
mounted.

I often use that trick with /somewhere/ to backup live system from
laptop to external drive. But it does not work well with innodb...

man mount
man rsync

good luck

-- 
Kacper Kopczyński



  reply	other threads:[~2010-04-05  0:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-04 19:05 [gentoo-user] Moving the system from one disk to another meino.cramer
2010-04-04 19:09 ` covici
2010-04-04 19:35 ` [gentoo-user] " Kerin Millar
2010-04-04 20:04   ` Neil Bothwick
2010-04-04 23:51     ` Kacper Kopczyński [this message]
2010-04-05  0:16       ` Kerin Millar
2010-04-05  1:34     ` walt
2010-04-05  1:49       ` Kerin Millar
2010-04-05  7:03       ` Neil Bothwick
     [not found]         ` <201004051201.30038.michaelkintzios@gmail.com>
2010-04-05 11:10           ` Neil Bothwick
2010-04-06  2:51 ` [gentoo-user] " Dale

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=20100405015156.35c47be3@matrix.inten.pl \
    --to=capsel@matrix.inten.pl \
    --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