Cloning FreeBSD installations?

Nico Meijer nico at familiemeijer.org
Thu Oct 30 01:52:27 PST 2003


Hi ewald,

> o) Is there a way to clone one machine to another one "over the net",
> i.e. by writing an image file from one machine to a server and then
> setting up the other machines from that image?

http://www.feyrer.de/g4u/

> o) Is there a way to clone FreeBSD installations by copying the entire
> FreeBSD slice to another drive (I thought about installing the
> harddisks of the other machines in the master machines and then
> copying the installtion) (Is "Knoppix" capable of doing this?)

If the disks are indeed identical, set up one disk the way you like; 
boot into single user mode (boot -s) and dd away (as in `dd if=/dev/ad0 
of=/dev/ad2 bs=[whatever]`).

Maybe experiment a bit with dd's block size. I've had great results with 
Maxtor DiamondMax Plus 8 40Gb disks and a blocksize of 512k. Takes about 
15 minutes.

If you're indeed running IDE disks, put both disks on their own IDE 
controller.

HTH... Nico



More information about the freebsd-questions mailing list