Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2010 10:18:35 +0100
From:      Ramblewski David <David.Ramblewski@atosorigin.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Specifying "Install Root" on non interactive sysinstall
Message-ID:  <7EF5DBE4C76A7B4DA655334E9F2BFD26F3C451921B@FRSPX100.fr01.awl.atosorigin.net>

next in thread | raw e-mail | index | archive | help

Hi,

I'm looking for a solution to jumpstart FreeBSD on an non interactive way.
The solution provided by the Handbook recommend to use sysinstall program, =
that's what I'm trying to do.

The servers are using PXE boot to mount an mfsbsd filesystem, everything wo=
rks as expected until now.
I manually create the slice, labels and mount the partitions on "/mnt" part=
ition.

Then I manually launch "sysinstall loadConfig"  to install packages classes=
 but I didn't find the way to precise an "Install Root" for /mnt whereas it=
 works if I did it on a interactive way using the options menu.
Does anyone know how to solve this issue?

Here is my install.cfg file:
------------------
# Turn on extra debugging.
debug=3DYES

# Ok, this ought to turn off ALL prompting, don't complain to me that you
# lost a machine because you netbooted it on  the same subnet as this
# box
nonInteractive=3DYES
noWarn=3DYES
tryDHCP=3DYES

# My host specific data
hostname=3Dpolbsd
domainname=3Dpriv.atos.fr

################################
# Which installation device to use
nfs=3D10.28.222.1:/opt/local/jumpstart/tftpboot/BSD/NFS
netDev=3Dbge0
mediaSetNFS
################################

################################
# Select which distributions we want.
dists=3D base SMP manpages ports
distSetCustom
################################

# OK, everything is set.  Do it!
installCommit

shutdown
------------------


Thanks,

David




________________________________

Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage e=
xclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret =
professionnel. Si vous recevez ce message par erreur, merci d'en avertir im=
m?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouva=
nt ?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne po=
urra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs=
 efforts soient faits pour maintenir cette transmission exempte de tout vir=
us, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? =
ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely=
 for the addressee; it may also be privileged. If you receive this e-mail i=
n error, please notify the sender immediately and destroy it. As its integr=
ity cannot be secured on the Internet, the Atos Origin group liability cann=
ot be triggered for the message content. Although the sender endeavours to =
maintain a computer virus-free network, the sender does not warrant that th=
is transmission is virus-free and will not be liable for any damages result=
ing from any virus transmitted.



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