Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make a automatically installing FreeBSD disc. I heard that sysinstall can be automated with a configuration file. Can I get a sample. (Tutorials are even better!)

share|improve this question
up vote 2 down vote accepted

FreeBSD PXEBoot Guide -> Automatic installation -> Scripting sysinstall

sysinstall(8) will first look for the file install.cfg on the root file system which sets installation parameters. This file can also be used to script sysinstall. When the execution exits, sysinstall will return to the interactive mode.

Hence, to automate the installation we need to create install.cfg and place it in the root of the memory filesystem we created. Remount the memory file system to create and store the installation configuration file.

The syntax, variables and commands are described in sysinstall(8), however not all variables and commands are documented, for theese, we need to take a look at the source code also. Also a sample install.cfg is given in the source code directory of sysinstall.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.