Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2008 12:14:36 -0500
From:      "Jeff Gold" <jeff.gold@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Scripting sysinstall
Message-ID:  <4bded9640802150914x4c868f40ue0f21b8d8e163745@mail.gmail.com>

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



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