From owner-freebsd-hackers Thu Jun 29 19:18:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.osd.bsdi.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 5A7EF37B5C2 for ; Thu, 29 Jun 2000 19:18:39 -0700 (PDT) (envelope-from jkh@zippy.osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by zippy.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id TAA21483; Thu, 29 Jun 2000 19:18:27 -0700 (PDT) (envelope-from jkh@zippy.osd.bsdi.com) To: "Charles N. Owens" Cc: hackers@FreeBSD.ORG Subject: Re: sysinstall script disklabel problems -- help In-reply-to: Your message of "Thu, 29 Jun 2000 21:53:46 EDT." <395BFDAA.B5059F3@enc.edu> Date: Thu, 29 Jun 2000 19:18:27 -0700 Message-ID: <21480.962331507@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. Do this instead: > # the disks... > disk=da0 > 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 > > disk=da1 > partition=all > bootManager=standard > diskPartitionEditor You want to do each disk "completely" before you move on to the next one rather than fdisking one, labelling it, then jumping back to fdisk. If you understood how truly evil a hack sysinstall's "scripting" was, you probably wouldn't need to ask why. :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message