Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 11:56:17 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Howto replicate a existing system to a new system
Message-ID:  <200112121656.fBCGuHa29247@clunix.cl.msu.edu>

next in thread | raw e-mail | index | archive | help

> 
> Is there a way to 'copy' a installed FreeBSD system to a fresh
> installed system?

If you mean to a new system disk -  Sort of. 
First you need to initialize, slice and partition the disk and
put in the boot blocks.  See man pages for fdisk and disklabel.
They are rather confusing and talk in circles too much, but the
information is all there.

Then, use dump and restore to copy each file system on the old
disk to the appropriate file system on the new disk.   If you are
lucky and things are really identical enough and there is room
enough, you could slide the new disk in to the old machine after
initializing it and do the dump/restore right to it and then 
plug it in to the new machine and boot.  

If you don't have room to put the new disk on the old machine, you'll 
have to use tape or some such media to move things and make up an
a boot media with restore in it that can be run in a memory file system.
That's a bit complicated.  Or you could just install FreeBSd and 
restore the dump right over it.

////jerry
> 
> Any ideas?
> 
> Thanks,
> Arjan
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112121656.fBCGuHa29247>