| Cloning a FreeBSD system Posted June 6, 2003
 Simplifying by assuming a single partition, a secure network, and ucspi-tcp already installed on ORIG... Install fresh hard disk in CLONE, and boot from a FreeBSD rescue floppy. Rather than installing, go to the "configure" submenu and do "fdisk" and "slice."  Use W Qinstead of justQto quit each one.  Install a boot manager just as if you were building a new system. Go back to the main menu and choose "fixit," then "live filesystem on CD-ROM."
 Press alt-f4 to switch to the emergency shell.
 Start tcpserver on ORIG: tcpserver -vRHl 0 -c 1 10.23.1.1 1234 sh -c '
echo HTTP/1.1 200 OK
echo Content-type: application/octet-stream
echo
exec dump -0f - /'
 Go back to CLONE: cd /mnt
fetch -q -o - http://10.23.1.1:1234/foo | restore -rvf -
 |