BSDInstall: The Stopgap Installer

This is designed to be a lightweight replacement for sysinstall until future installers show up, but more modular and easily extended. It is scriptable from shell scripts. The full installer can be run by executing bsdinstall auto, and is intended to be run from a live environment (e.g. a live CD or PXE boot). As of Jan. 12, it has no dependencies outside of the base system.

SVN repository: svn://svn.freebsd.org/base/head/usr.sbin/bsdinstall

Architecture

Test CDROM image

amd64

http://people.freebsd.org/~nwhitehorn/bsdinstall-amd64-20110411

i386

http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110411

powerpc

http://people.freebsd.org/~nwhitehorn/bsdinstall-powerpc-20110308.iso.bz2

powerpc64

http://people.freebsd.org/~nwhitehorn/bsdinstall-powerpc64-20110418

sparc64

http://people.freebsd.org/~nwhitehorn/bsdinstall-sparc64-20110215.iso.bz2

Status:

Missing features (as of 5 Feb. 2011):

Goals:

Scriptability

This installer takes a different approach to scriptability than sysinstall or pc-sysinstall. The main install program (bsdinstall auto) is a short shell script that calls the other parts of the installer in sequence. Any step can be replaced or embellished by doing something else from the shell script (e.g. the partedit partition editor could be replaced entirely by a sequence of gpart commands) instead of being limited to the constraints of the configuration syntax.

Eventually this will be adapted to use the backend from pc-sysinstall.

Installation Flow

The installer consists of several steps, each a C executable or script:

Dependencies

Distribution Format

sysinstall takes great pains to make sure everything it does is floppy-sized, which is not relevant in 2011, so distfiles for this installer are single tarballs instead of many chunks:

Bugs

BSDInstall (last edited 2011-09-16 08:43:02 by MarkLinimon)