From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 12:13:39 2011 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 600BA1065675 for ; Sun, 28 Aug 2011 12:13:39 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E96858FC1F for ; Sun, 28 Aug 2011 12:13:38 +0000 (UTC) Received: by wwi36 with SMTP id 36so4882929wwi.31 for ; Sun, 28 Aug 2011 05:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=8Hz8/DdSiRYB9WU43aZSqBgsHb78/gsnVYwQOvVQLjo=; b=LyidrQ3iunJB5aiYcIoPB+JiRR/bHp4HS3DjKwuttnXE5t2n2Ft1sLK6LlrN79xvBK 7iqwthdqXGA6WrjWFtdbUCJdfQn8WzidDewlyepuZluiENCu8enZepBkw2Oods1Pkl4w t/QjmOehezP78FwjNbg02IJSb3btBvgyEihZQ= Received: by 10.227.19.213 with SMTP id c21mr2771883wbb.5.1314532254121; Sun, 28 Aug 2011 04:50:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.170.130 with HTTP; Sun, 28 Aug 2011 04:50:34 -0700 (PDT) From: Amitabh Kant Date: Sun, 28 Aug 2011 17:20:34 +0530 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Scritping sysinstall and custom iso 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: Sun, 28 Aug 2011 12:13:39 -0000 Hello I am trying to create a custom FreeBSD iso which will automate most of the steps asked in a standard installation using sysinstall. While "make release" is available, I was trying to modify disc1 iso, as it seems that I only need to have install.cfg for automating sysinstall. I downloaded the disc1 iso file (8.2 amd64 arch), created a memory disk using mdconfig, and then mounted the disk. The commands that I have run are: mdconfig -a -t vnode -f org.iso -u 0 mount_cd9660 /dev/md0 /mnt mkdir custom_iso cd custom_iso rsync -a /mnt/ . Once I am done with the changes, I plan to run the following command to recreate the iso mkisofs -J -R -V CustomBSD -no-emul-boot -b boot/cdboot -iso-level 3 -o /usr/home/isotest/custom.iso . All the commands run fine and I am able to generate an iso. Now, couple of questions that have confused me: a) Where do I place install.cfg file for sysinstall to read without any user intervention? In the root directory of the disc1 layout or inside 8.2-Release / other sub directory? b) Is there a place where I can get a sample install.cfg with all the options explained? All I could find were different examples tailored to specific situations, most of them towards PXE boot. c) Is it necessary to define every step in install.cfg? I would like to keep disk partition / label and network configuration dialogs available (root password if necessary), while setting values for all other user dialogs and screens. Amitabh Kant