Many thanks for your answer, it helps me solving some issues.
David
-Message d'origine-
De : owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] De la part de Devin Teske
Envoyé : mardi 9 novembre 2010 18:13
À : Ramblewski David
Cc : freebsd-questions@freebsd.org; freebsd-sysinst...@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
partition.
You might just want to try adding diskInteractive=YES 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=da0) 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 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.
Put this into your install.cfg:
# Required by distExtractAll (called indirectly by installCommit):
installRoot=/mnt
Does anyone know how to solve this issue?
Here is my install.cfg file:
--
# Turn on extra debugging.
debug=YES
# 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=YES
noWarn=YES
tryDHCP=YES
# My host specific data
hostname=polbsd
domainname=priv.atos.fr
# Which installation device to use
nfs=10.28.222.1:/opt/local/jumpstart/tftpboot/BSD/NFS
netDev=bge0
mediaSetNFS
# Select which distributions we want.
dists= 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.te...@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-unsubscr...@freebsd.org
Ce message et les pièces jointes sont confidentiels et réservés à l'usage
exclusif de ses destinataires. Il peut également être protégé par le secret
professionnel. Si vous recevez ce message par erreur, merci d'en avertir
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts
soient faits pour maintenir cette transmission exempte de tout virus,
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 in error,
please notify the sender immediately and destroy it. As its integrity cannot be
secured on the Internet, the Atos Origin group liability cannot be triggered
for the message content. Although the sender endeavours to maintain a computer
virus-free network, the sender does not warrant