From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 17:42:35 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 6778C16A468 for ; Fri, 15 Feb 2008 17:42:35 +0000 (UTC) (envelope-from jeff.gold@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id D12F613C4EC for ; Fri, 15 Feb 2008 17:42:34 +0000 (UTC) (envelope-from jeff.gold@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so424233nfb.33 for ; Fri, 15 Feb 2008 09:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=qPPyrlFxa77h3B9u9aXytgaHT8xUYTf48+NuYH+6k4E=; b=hSc0xbA4gf0gQ5SmgT3ZHlPLNyrKxDUB+niS0+1ISizahwyetW3jpg75+CkOb2kzoARElt+9AVoetGxnZbRU40hVr11j9Ry/nADcpVdND+TL3BETVlvM7N4TV1/xOYBBUvEXY9gRWUrJH1TrZYS+124lpHs5BSWQp64dBp09vZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jsSL6Y5//Cf1+6fOiT2Fgd2MhLzGUYcjCkatCJi6NOiG+8tDTp6iL3iRoRqDY15H4vJzXZomZU7Uagpecvpug5282LOEzmmB8vChoYByw3/+COmoO1L1y8iNwFddWVSCZrr8ryJJ6Vjooxa9rRxknqFIf0pMzwoN/N0403z8THw= Received: by 10.78.147.6 with SMTP id u6mr3847978hud.69.1203095676244; Fri, 15 Feb 2008 09:14:36 -0800 (PST) Received: by 10.78.19.19 with HTTP; Fri, 15 Feb 2008 09:14:36 -0800 (PST) Message-ID: <4bded9640802150914x4c868f40ue0f21b8d8e163745@mail.gmail.com> Date: Fri, 15 Feb 2008 12:14:36 -0500 From: "Jeff Gold" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Scripting sysinstall 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: Fri, 15 Feb 2008 17:42:35 -0000 I'm having problems with sysinstall used from a script. (Before you ask, yes I've read the man page and yes I know sysinstall is "greatly in need of death" but I've not yet found a plausible alternative. I'm all ears if you've got one to suggest.) I'm using a custom built live CD based on FreeSBIE and the script attached below. When I invoke this sysinstall certainly seems busy -- it claims to be unpacking the distribution set I specified -- but it doesn't actually accomplish anything. No boot loader is installed and no changes are made to the partition table. I'm sure I've missed something obvious but I haven't been able to work it out through searching the documentation on http://freebsd.org/, the archive for this list or Google in general. What am I doing wrong? Jeff debug=true ufs=/6.2-RELEASE mediaSetUFS disk=ad0 partition=all bootManager=boot diskPartitionEditor ad0s1-1=ufs 1048576 / ad0s1-2=swap 4194304 none ad0s1-3=ufs 2097152 /tmp ad0s1-4=ufs 16777216 /usr ad0s1-5=ufs 0 /var 1 diskLabelEditor dists=base kernels dict doc manpages ports distSetCustom installCommit shutdown