[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cloning your Debian system



Hello, Viktor.  I'm a little mystified as to why you CC'd this to me,
but here goes.

On Mon, May 07, 2001 at 10:00:54PM +0100, Viktor Lakics wrote:
> I got a crazy idea: if you want to make 100 % sure that you do not
> brake your production system, why don't you have an exact copy of
> that system before you do an upgrade (or just use that system for
> trying out things, which you cannot afford on your system).
> 
> I got a spare 2 Gig partition on my system, and I want to give it a
> try. I just do not know how to start this? O.K. I could probably do
> it with hard disk image program, but then what configuration files
> do I have to edit (exept /etc/fstab) after my root partition moves
> from /dev/hda8 to /dev/hda7...
> 
> Anyone have done it already? All comments and possible ways to do it
> are welcome!

I would you rsync(1) to copy the relevant parts of the system over
(say, to $HOME/system2) and chroot(8) to switch to the subsystem.

Rob

-- 
Comparing information and knowledge is like asking whether the fatness of a
pig is more or less green than the designated hitter rule."
-- David Guaspari



Reply to: