From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 16:58:18 2010 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 BE65C106567A for ; Thu, 11 Nov 2010 16:58:18 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4A81B8FC08 for ; Thu, 11 Nov 2010 16:58:17 +0000 (UTC) Received: by bwz2 with SMTP id 2so2133274bwz.13 for ; Thu, 11 Nov 2010 08:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=JxzWMvxsyq1cZrFskG4hpoYtE0i2bhc1sxeMaMYLgX0=; b=IxNjW5Y0OhS8XVOD05RjRG5ErZ0hNoZMSQnxXkvwemQa3Pj0nLfMwGQPgWEj3IhNP6 QRpEh+3zWpvMgull5pz4J+54t3n4Y1xBFLfH+LK0w0ZG3HGMKgeAVYdlXSVv1Rxf3124 rUxDG/12OJG9DbhVD9nJ00FHQf9T+fS1lcKk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=OF2gFEwJawO7H0xdVW/5e5J9gP36csNu3jCdy6ezb7wJbYtFgJ/UVQtPWW8vANrfC/ xTzi/wUTDjzUG1TSYgMrrEsm/PZQhhg9+gBb50KPj1tRZlwRq03bLWdFce0niydqyWO/ kNrCRBvvBmshki8o7eZH2LhNi0wV1E4/yihQ8= MIME-Version: 1.0 Received: by 10.204.119.145 with SMTP id z17mr1658301bkq.128.1289494697089; Thu, 11 Nov 2010 08:58:17 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.204.56.211 with HTTP; Thu, 11 Nov 2010 08:58:17 -0800 (PST) In-Reply-To: <641464108.20101111103410@connection.ca> References: <90e6ba53b42e9e45100494c5e454@google.com> <641464108.20101111103410@connection.ca> Date: Thu, 11 Nov 2010 11:58:17 -0500 X-Google-Sender-Auth: q0vCUIskBZMOZbC5wpBZVDSI04Y Message-ID: From: Rick Miller To: Ross Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: sysinstall install.cfg 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, 11 Nov 2010 16:58:18 -0000 On Thu, Nov 11, 2010 at 10:34 AM, Ross wrote: > vgc> I do this twice before the installCommit and both scripts run and load the > vgc> resulting configs successfully. I also run another script after the > vgc> InstallComit...it fails citing the script could not be found. In > vgc> troubleshooting, I found that sysinstall is removing /stand and doing other > vgc> stuff to / and /var. So, I know why the script cannot be found...because > vgc> sysinstall is removing it. > > sysinstall basically does a chroot into the newly installed root after > doing the installcommit, and then remounts the installation source as > /dist (not quite true, you can mount other sources at this time, but > always to /dist). > > After the installcommit, you basically are now at a normal freebsd > installation (ie: /usr/bin and the like are available). You lose > access to your original mfsroot distribution at this point. Thank you, Ross. Your explanation of what was happening lead me to combine the 2nd of the 2 scripts prior to the installCommit and the 3rd script that I was running after the installCommit. The result of the code in the scripts plus the lines in the install.cfg were echoed out to a file and subsequently loaded via loadConfig. This produced the desired result. -- Take care Rick Miller