Re: [Nolug] Cloning hard drives

From: Ron Johnson <ron.l.johnson_at_cox.net>
Date: 17 Jul 2003 10:12:47 -0500
Message-Id: <1058454767.31346.23.camel@haggis>

On Thu, 2003-07-17 at 09:35, Scott Harney wrote:
> Craig Jackson <craig.jackson@wild.net> writes:
>
> >
> > 1) Buy Drive Image Pro or Ghost and work through that.
> > 2) Do a minimal install which takes a few minutes, then copy the rest
> > of the files using cp.
>
> actually, tar is a better tool for this:
>
> tar cf . | (cd /wherever/the/other/disk/is/mounted && tar pxf -)

I've had trouble with this, where symlinks on the new disk still
point back to the master disk. /etc/alternatives is the main
culprit, but not the only one.

It only happens when the system is split into multiple partitions,
i.e., /, /boot, /var, /usr, etc.

-- 
+-----------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net             |
| Jefferson, LA  USA                                              |
|                                                                 |
| "I'm not a vegetarian because I love animals, I'm a vegetarian  |
|  because I hate vegetables!"                                    |
|    unknown                                                      |
+-----------------------------------------------------------------+
___________________
Nolug mailing list
nolug@nolug.org
Received on 07/17/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST