Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.