From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 23:32:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5443516A41F for ; Thu, 3 Nov 2005 23:32:57 +0000 (GMT) (envelope-from root@webpath.net) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01.nyroc.rr.com [24.24.2.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C3443D45 for ; Thu, 3 Nov 2005 23:32:56 +0000 (GMT) (envelope-from root@webpath.net) Received: from [192.168.0.118] (cpe-66-66-14-123.rochester.res.rr.com [66.66.14.123]) by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id jA3NWqFe026551; Thu, 3 Nov 2005 18:32:52 -0500 (EST) Message-ID: <436AACAB.4030907@webpath.net> Date: Thu, 03 Nov 2005 19:34:51 -0500 From: Todd User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <436A6A65.9030205@webpath.net> <436A85C7.8050905@mawer.org> In-Reply-To: <436A85C7.8050905@mawer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Antony Mawer Subject: Re: sysinstall install.cfg questions 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: Thu, 03 Nov 2005 23:32:57 -0000 Thank you! Excellent, exactly what I needed. The plan is to use disc1 of the release and modify it with a few packages and config changes to make an easily installable version of our modified desktop (Waimea/ROX/Webmin). I was going to use the BSD installer (bsdinstaller.org) but this way seems to make more sense in the long run, and leads into creating a port of the desktop as well (which is planned). Most likely we'll eventually make our own releases with a Live CD and a separate Install CD, so your reply was about as perfect as I could of ever hoped for. Progress is slow as it's not a top priority, but a preview of the project is available here: http://live.webpath.net I hope to get some screen shots up with in the next week or two. files to the Antony Mawer wrote: > On 4/11/2005 6:52 AM, Todd wrote: > >> I'm trying to figure out how to use the sysinstall using a >> install.cfg script to install on multiple machines without floppies, >> and without needing any interaction other than putting in the CD. >> >> I can create the script but don't know where to put it on the >> modified installation CD, or how to initiate sysinstall during the >> boot process to use it? >> >> Any help will be greatly appreciated! >> >> Todd > > > Are you creating your own CDs using a 'make release' (see release(7)) > process? If so, I've generally followed an approach similar to the > following: > > 1. Create your install.cfg file in the /usr/src/release/ directory. > 2. Create a patch file that will add your install.cfg to a standard > /usr/src tree: > > cd /usr/src > diff -u /dev/null src/release/install.cfg > ~/local.patch > > 3. Make the release with the appropriate LOCAL_PATCH parameter: > > make release \ > CHROOTDIR=/some/dir \ > BUILDNAME=6.0-MYRELEASE \ > CVSROOT=/usr/home/ncvs \ > RELEASETAG=RELENG_6_0 \ > LOCAL_PATCHES=/path/to/local.path > > That would build a 6.0 security branch build with your install.cfg in > /usr/src/release/ of the chroot. The make release process then takes > care of placing the install.cfg in the appropriate location on the CD. > > > If you're attempting to patch an existing CD image, reading > /usr/src/release/Makefile suggests you'll need to: > > - Extract the contents of the ISO > - Un-gzip and then mount the decompressed /boot/mfsroot.gz file > - Place your install.cfg in the root of the mounted mfsroot fs > - Unmount the mfsroot filesystem > - Re-gzip the mfsroot file to /boot/mfsroot.gz > - Run mkisofs to re-create the CD > > Hopefully this points you in the right general direction! > > Cheers > Antony > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >