This is the BSD Installer project from SummerOfCode2005

Project Name

Integrate BSD Installer into the FreeBSD install CD's


Integrating the BSD Installer into the FreeBSD release building process.

Building from Perforce

  1. Checkout the perforce tree
  2. cd to the scripts directory
  3. Copy the to config.txt
  4. Change the variables to be correct for your system:
    • PATCH_DIR is a directory where the patches are placed
    • SRC_DIR is the location of the source code for the version of FreeBSD you are currently running
    • BUILDNAME, CVSROOT and CHROOTDIR are to be set as for release(7)
  5. Run 'sh'. This will create a patch, a script and tarballs to be used with LOCAL_PATCHES and LOCAL_SCRIPT during release
    • The current release Makefile has extra changes. The first two chunks need to be removed or the new release Makefile needs to be intergrated.
  6. The release/Makefile needs to be patched to export the -DBSDINSTALLER to the child script. There is a patch in the scripts directory for RELENG_6 for rev. 1.853.2.16
  7. Run 'sh'. This will run 'make buildworld' in SRC_DIR from config.txt followed by 'cd release' and 'make release -DBSDINSTALLER ...'
    • This dosn't add any packages to the ISO image. The BSD Installer can install them if you add them later (eg. rerelease)





Snapshot 2006-05-12




Installation locations

The Lua modules are all in the ports tree. The Lua modules are:

Other parts:

Virtual consoles

There are three virtual consoles:

To see the installation log change to console ttyv1. It is also written to /var/log/install.log on the installed disk.


Packages are only installable from the first CD.


BSD Installer is split into three main parts:

  1. A Frontend to display the menu to the user.
  2. A Backend to tell the Frontend what to display.
  3. A library to get the Frontend and Backend talking to each other.

The BSD Installer is installed from a minimal live CD. The front and back ends run from separate virtual consoles. This is to display any output from the backend to the console, eg. the results of newfs.

BSDInstaller (last edited 2008-06-17T21:37:51+0000 by anonymous)