TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:17626] Right way to move an installation.




You forgot to mention that you can do this while the system is running
without users/programs noticing it.

Very cool.  I'd like to see Windows do that.

Tim

On Fri, 12 May 2000, David Wood wrote:

> On Fri, 12 May 2000, BIll Layer wrote:
> 
> > Quick question: What is the correct way to mirror a Linux installation (or a
> > partition for that matter) to another partition? For instance, if one is
> > installing a new hard drive.. 
> 
> -=-
> 
> mkdir /newusr
> mount /dev/newpartition /newusr
> (cd /usr && tar cf - .) | (cd /newuser && tar xf -)
> mv /usr /oldusr
> mv /newusr /usr
> rm -rf /oldusr
> 
> -=-
> 
> Worked for me, upon several occasions, with several different distributions.
> 
> -David
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>