head 1.2; access; symbols RELENG_4_11_0_RELEASE:1.1 RELENG_4_11:1.1.0.26 RELENG_4_11_BP:1.1 RELENG_4_10_0_RELEASE:1.1 RELENG_4_10:1.1.0.24 RELENG_4_10_BP:1.1 RELENG_5_2_1_RELEASE:1.1 RELENG_5_2_0_RELEASE:1.1 RELENG_5_2:1.1.0.22 RELENG_5_2_BP:1.1 RELENG_4_9_0_RELEASE:1.1 RELENG_4_9:1.1.0.20 RELENG_4_9_BP:1.1 RELENG_5_1_0_RELEASE:1.1 RELENG_5_1:1.1.0.18 RELENG_5_1_BP:1.1 RELENG_4_8_0_RELEASE:1.1 RELENG_4_8:1.1.0.16 RELENG_4_8_BP:1.1 RELENG_5_0_0_RELEASE:1.1 RELENG_5_0:1.1.0.14 RELENG_5_0_BP:1.1 RELENG_4_7_0_RELEASE:1.1 RELENG_4_7:1.1.0.12 RELENG_4_7_BP:1.1 RELENG_4_6_2_RELEASE:1.1 RELENG_4_6_1_RELEASE:1.1 RELENG_4_6_0_RELEASE:1.1 RELENG_4_6:1.1.0.10 RELENG_4_6_BP:1.1 RELENG_4_5_0_RELEASE:1.1 RELENG_4_5:1.1.0.8 RELENG_4_5_BP:1.1 RELENG_4_4_0_RELEASE:1.1 RELENG_4_4:1.1.0.6 RELENG_4_4_BP:1.1 RELENG_4_3_0_RELEASE:1.1 RELENG_4_3:1.1.0.4 RELENG_4_3_BP:1.1 RELENG_4_2_0_RELEASE:1.1 RELENG_4_1_1_RELEASE:1.1 PRE_SMPNG:1.1 RELENG_4_1_0_RELEASE:1.1 RELENG_4_0_0_RELEASE:1.1 RELENG_4:1.1.0.2 RELENG_4_BP:1.1; locks; strict; comment @# @; 1.2 date 2004.03.24.08.01.14; author luigi; state dead; branches; next 1.1; 1.1 date 99.10.08.05.20.06; author dwhite; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2012.11.17.07.24.22; author svnexp; state Exp; branches; next ; desc @@ 1.2 log @remove stale documentation @ text @ Configuring the PicoBSD install floppy

Configuring the PicoBSD install floppy

The PicoBSD Install Floppy is engineered to be flexible since every site has their own needs for an automated install solution. The base package contains tools and frameworks for further customization.

Generating an Install Image

Central to the design of the install floppy is a tarball image of the operating system. The install floppy downloads and extracts the image from a master server.

To generate the install image:

  1. Install and configure a machine as it should be installed.
  2. Use tar to create the image. This shell script is useful for automating the process.
    #!/bin/sh
    TARBALL="/fbsdimage.tgz"
    GZIP="-9"
    
    tar -cpvzf ${TARBALL} --totals --exclude '/proc/*' --exclude '/var/tmp/*' \
        --exclude '/var/log/*' --exclude '/tmp/*' --exclude '/fbsdimage.tgz' /
    	  
  3. Copy the image file to your load server into a public FTP directory.

Configuring the Install Floppy

Once the install floppy has been built using the PicoBSD build script, mount the floppy and modify the install script, /floppy/etc/doinstall. doinstall is called from rc on startup to install the disk image and perform whatever other setup tasks are necessary. The script can set network parameters, configure applications, select kernels, or whatever else a shell script can do. A handful of useful utilities is included on the disk to ease automated installation.

At minumum, set the URL to the FTP server holding the disk image. If you wish, uncomment and modify to taste any of the code blocks provided.

By default, the install floppy:

To modify the disk formatting parameters, modify the /floppy/etc/prepdisk script. prepdisk is a simple awk script that feeds directly into disklabel. Simply edit the generated partition table to taste.


Doug White
Last modified: Thu Oct 7 22:18:22 PDT 1999 @ 1.1 log @Add documentation for the PicoBSD install floppy. @ text @d2 1 a2 1 @ 1.1.2.1 log @Switch importer @ text @d2 1 a2 1 @