Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2000 19:18:27 -0700
From:      "Jordan K. Hubbard" <jkh@zippy.osd.bsdi.com>
To:        "Charles N. Owens" <owensc@enc.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: sysinstall script disklabel problems -- help 
Message-ID:  <21480.962331507@localhost>
In-Reply-To: Your message of "Thu, 29 Jun 2000 21:53:46 EDT." <395BFDAA.B5059F3@enc.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21480.962331507>