Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2010 11:37:09 +0100
From:      Ramblewski David <David.Ramblewski@atosorigin.com>
To:        Devin Teske <dteske@vicor.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "freebsd-sysinstall@freebsd.org" <freebsd-sysinstall@freebsd.org>
Subject:   RE: Specifying "Install Root" on non interactive sysinstall
Message-ID:  <7EF5DBE4C76A7B4DA655334E9F2BFD26F3C4519A18@FRSPX100.fr01.awl.atosorigin.net>
In-Reply-To: <1289322766.4270.11.camel@localhost.localdomain>
References:  <7EF5DBE4C76A7B4DA655334E9F2BFD26F3C451921B@FRSPX100.fr01.awl.atosorigin.net> <1289322766.4270.11.camel@localhost.localdomain>

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

Many thanks for your answer, it helps me solving some issues.

David

-----Message d'origine-----
De : owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@fr=
eebsd.org] De la part de Devin Teske
Envoy=E9 : mardi 9 novembre 2010 18:13
=C0 : Ramblewski David
Cc : freebsd-questions@freebsd.org; freebsd-sysinstall@freebsd.org
Objet : Re: Specifying "Install Root" on non interactive sysinstall

On Tue, 2010-11-09 at 10:18 +0100, Ramblewski David wrote:
> 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.

-sysinstall@ would have been a better choice for this question.
Cross-posting my reply.


> The servers are using PXE boot to mount an mfsbsd filesystem, everything =
works as expected until now.
> I manually create the slice, labels and mount the partitions on "/mnt" pa=
rtition.

You might just want to try adding "diskInteractive=3DYES" to your
install.cfg file. That way, you don't have to manually
partition/slice/label your disk _before_ you load the config.

By setting diskInteractive, when installCommit is called, it will:
a. if `disk' is not set (e.g. disk=3Dda0) throw up a menu to select which
disk you want to partition
b. throw you into the FDISK partition editor
c. throw you into diskabel
e. ask which boot code you want to install (if any) to the MBR

Just a suggestion.


> Then I manually launch "sysinstall loadConfig"  to install packages class=
es 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.

Put this into your install.cfg:

# Required by distExtractAll (called indirectly by installCommit):
installRoot=3D/mnt




> 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

Hmmm. Must be an older release. The SMP kernel has gone missing in
FreeBSD-8.x.


> distSetCustom
> ################################
>
> # OK, everything is set.  Do it!
> installCommit
>
> shutdown
> ------------------
>
>
> Thanks,
>
> David

--
Cheers,
Devin Teske

-> CONTACT INFORMATION <-
Business Solutions Consultant II
FIS - fisglobal.com
510-735-5650 Mobile
510-621-2038 Office
510-621-2020 Office Fax
909-477-4578 Home/Fax
devin.teske@fisglobal.com

-> LEGAL DISCLAIMER <-
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly prohibited.  If you have  received this
message in error,  please notify  the e-mail sender  immediately,
and delete the original message without making a copy.

-> FUN STUFF <-
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? K- =
w O
M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ e>=
+ h
r>++ y+
------END GEEK CODE BLOCK------
http://www.geekcode.com/

-> END TRANSMISSION <-

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org=
"



Ce message et les pi=E8ces jointes sont confidentiels et r=E9serv=E9s =E0 l=
'usage exclusif de ses destinataires. Il peut =E9galement =EAtre prot=E9g=
=E9 par le secret professionnel. Si vous recevez ce message par erreur, mer=
ci d'en avertir imm=E9diatement l'exp=E9diteur et de le d=E9truire. L'int=
=E9grit=E9 du message ne pouvant =EAtre assur=E9e sur Internet, la responsa=
bilit=E9 du groupe Atos Origin ne pourra =EAtre recherch=E9e quant au conte=
nu de ce message. Bien que les meilleurs efforts soient faits pour mainteni=
r cette transmission exempte de tout virus, l'exp=E9diteur ne donne aucune =
garantie =E0 cet =E9gard et sa responsabilit=E9 ne saurait =EAtre recherch=
=E9e pour tout dommage r=E9sultant 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?7EF5DBE4C76A7B4DA655334E9F2BFD26F3C4519A18>