From: | Neil Bothwick <neil@××××××××××.uk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] When copying an os to new disk | ||
Date: | Fri, 26 Feb 2010 23:26:28 | ||
Message-Id: | 20100226232558.19db160d@digimed.co.uk | ||
In Reply to: | Re: [gentoo-user] When copying an os to new disk by Alex Schuster |
1 | On Fri, 26 Feb 2010 17:00:22 +0100, Alex Schuster wrote: |
2 | |
3 | > If $old_dir is the root partition, I would bin-mount it first to |
4 | > somewhere else, so other directories mounted to it |
5 | > (especially/dev, /proc and /sys) are not copied: |
6 | > mount -o bind / /mnt |
7 | > old_dir=/mnt |
8 | |
9 | Or use the --one-file-system option for tar. |
10 | |
11 | |
12 | -- |
13 | Neil Bothwick |
14 | |
15 | I locked my coathanger in my car; good thing I had a key. |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |