From owner-freebsd-questions@FreeBSD.ORG Mon Mar 3 02:16:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A45741065670 for ; Mon, 3 Mar 2008 02:16:23 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.freebsd.org (Postfix) with ESMTP id 6E2088FC16 for ; Mon, 3 Mar 2008 02:16:23 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-116-247-93.lsanca.dsl-w.verizon.net [71.116.247.93]) (authenticated bits=0) by zoot.lafn.org (8.13.6/8.13.4) with ESMTP id m232GMhc059463 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 2 Mar 2008 18:16:23 -0800 (PST) (envelope-from bc979@lafn.org) Message-Id: <315F04DD-EBF3-451D-99C2-1C3B2D821522@lafn.org> From: Doug Hardie To: freebsd-questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 2 Mar 2008 18:16:21 -0800 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.88.7/6088/Sun Mar 2 18:05:40 2008 on zoot.lafn.org X-Virus-Status: Clean Subject: Creating a custom install disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 02:16:23 -0000 I have a number of servers that I am going to be updating to FreeBSD 7 from 6.2. I have built a new base system with all the configurations and ports and local code that I need. This process takes about 2 days from the distribution CDs. I need a way to clone this machine and install on the others. My first idea was a custom install disk. The make release process does not appear to do what I want. It would install a GENERIC kernel and take the config files from the distribution. LiveCD was tried, but it fails with numerous attempts to write to directories that do not exist. I expect I could manually create those directories, but I am not sure what it would actually install since it too builds a new GENERIC (but slightly modified) kernel. I tried creating a dump file of the new machine and restoring it on the old one. I did root first and was going to then do /usr, but the alterations to root were such that the system just couldn't keep going through the process. That what I had expected, but it was worth a try. I have not tried this, but perhaps it might work. Creating the dump files on the new machine, booting the old from the live filesystem cd, recreating the filesystems on disk and then restoring from the dump files on the new system. That would require a good net connection between the 2 machines. Is there a better way to do this?