From owner-freebsd-current@FreeBSD.ORG Wed Oct 15 00:18:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79A5416A4B3 for ; Wed, 15 Oct 2003 00:18:42 -0700 (PDT) Received: from firecrest.mail.pas.earthlink.net (firecrest.mail.pas.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id A424343F85 for ; Wed, 15 Oct 2003 00:18:41 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfnc7.dialup.mindspring.com ([165.247.221.135] helo=mindspring.com) by firecrest.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 1A9fvb-0003TP-00; Wed, 15 Oct 2003 00:18:40 -0700 Message-ID: <3F8CF4A8.6E119B43@mindspring.com> Date: Wed, 15 Oct 2003 00:18:00 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Chris Shenton References: <863cdvbtwi.fsf@PECTOPAH.shenton.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a40b3bd6996f196cc3acf6a30270ab7b3a3ca473d225a0f487350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org Subject: Re: How to create distribution for later NFS sysinstall on other box? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 07:18:42 -0000 Chris Shenton wrote: > I expect there's a way to build a distribution on my main 5.1 system > then use sysinstall on the target 4.x to install via NFS (or FTP > or...) over the LAN. I have not found any pointers on doing this in > the Handbook or a couple quick Googles (perhaps I'm searching on the > wrong terms). Seems it should be something like this on the server: > > cd /usr/src > make distribution > > I'd like to make the distribution based on my 5.1-CURRENT, rather than > copying/creating a 5.1-RELEASE image so I won't have to do a > subsequent update to get it CURRENT. > > Any pointers? If I'm missing obvious docs, just tell me where to RTFM. :-) I've posted about this several times. The big trick is you have to copy the distribution sysinstall to the target machine, mount the CDROM image over NFS, and then run the new sysinstall on the old machine, and tell it that the NFS server is a local disk from which you are doing an upgrade. This assumes sysinstall hasn't changed so much due to new ioctl's (e.g. "GEOM") or new system calls or their paramenter formats (e.g. "historical changes to mount(2)") that it won't work. If it won't work, your best bet is to NFS export your build source and object trees, and just "make install" on each of the target machines. If that doesn't work, you will need to burn a CDROM, boot from it, and you can do an NFS install/upgrade from there. If you need step-by-step, I've posted about going from one version of 4.x to another using the "copy over sysinstall" method about half a dozen times to the -current list over the past two years (I had to do it for CDROM and floppy-less boxes for a previous employer). -- Terry