From owner-freebsd-questions Wed Jun 28 14:16: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from itsdsv1.enc.edu (fw1.enc.edu [63.85.52.127]) by hub.freebsd.org (Postfix) with ESMTP id 67E7137C383 for ; Wed, 28 Jun 2000 14:15:52 -0700 (PDT) (envelope-from owensc@enc.edu) Received: from enc.edu (r2s1.r.its.enc.edu [10.100.0.21]) by itsdsv1.enc.edu (8.7.5/8.7.3) with ESMTP id RAA06201; Wed, 28 Jun 2000 17:03:59 -0400 (EDT) Message-ID: <395A69F0.2FA67C5D@enc.edu> Date: Wed, 28 Jun 2000 17:11:12 -0400 From: "Charles N. Owens" Organization: Eastern Nazarene College X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: sysinstall script disklabel problems -- help Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy, I'm trying to automate most of the FreeBSD installation process via sysinstall's scripting mechanism. Its showing signs of life, but keeps barfing on the disklabel step. Below is appended my script. Any ideas as to what is wrong? Could someone also perhaps post some examples that do work? I've followed the example install.cfg script as best I can, but no dice. I've also search the list archives but have found zero related postings! Anyhow, when I try to load the script, I get the error message (in a dialog pop-up) "No root device found - you must label a partition as / in the label editor." Hitting enter gets me a similar message about there being no swap device. The script then aborts. There are no error messages in the debug window (ALT-F2) to help explain what's wrong with the disklabel specification. I'm wondering if the syntax for the disklabel stuff has changed... I've begun staring at sysinstall's C code but am hoping that someone here will save me from the inevitable headache. Thanks much! cno The script: ################################# # sysinstall script ################################# debug=yes #### Host specific stuff hostname=myserv domainname=foo.enc.edu ipaddr=10.x.x.x netmask=255.255.0.0 defaultrouter=10.x.x.x nameserver=10.x.x.x netDev=fxp0 # nfs install path common value nfs=serverfoo:/u/big/FreeBSD/install mediaSetNFS #### distributions dists=bin crypto distSetCustom #### fdisk stuff # the disks... disk=da0 partition=all bootManager=standard diskPartitionEditor disk=da1 partition=all bootManager=standard diskPartitionEditor #### disk label da0s1-1=ufs 102400 / da0s1-2=swap 1050624 none da0s1-3=ufs 1050624 /usr da0s1-4=ufs 1050624 /usr/local da0s1-5=ufs 204800 /var diskLabelEditor # Main sysinstall script # ######### the big commit! installCommit #### Add some packages #package=tcsh-6.09.00.tgz #packageAdd #package=screen-3.9.5.tgz #packageAdd #package=rsaref-2.0.tgz #packageAdd #package=cfengine-1.5.3.tgz #packageAdd #package=lynx-2.8.2rel.1.tgz #packageAdd #package=unzip-5.4.0.tgz #packageAdd # play command=df system shutdown -- ------------------------------------------------------------------------- Charles N. Owens Email: owensc@enc.edu http://www.enc.edu/~owensc Network & Systems Administrator Information Technology Services "Outside of a dog, a book is a man's Eastern Nazarene College best friend. Inside of a dog it's too dark to read." - Groucho Marx ------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message