kickbsd is a set of cripts for prepare unattended FreeBSD installer
For details please see README and BUILD. DownloadScenario: You have a new server want to install FreeBSD on this server meet folowing criteria 1) GPT and 2) root (/) on zfs. a) modify your configuration files conf/* and scripts/zintall (see below) b) create an iso image file (e.g. make iso DIST=1 BASE=/cdrom/7.2-RELEASE) c) burn ISO image onto a writable CD d) boot from the CD and enjoy :)
BUILDING INSTRUCTIONS:
1. Configuration
Read hints in the sample configuration files in the conf/ directory, copy
these files to files without .sample ending and make modifications to suit
your needs.
2. Modify scripts/zintsall in order to meet you environment
Most important variables are RELEASE, ISO_NAME, ISO_FOLDER and first_drive.
If you do not chande `first_drive` string, installer will intsall on first
drive reported by `geom disk status`
3. Distribution or custom world and kernel
You may choose to build from a FreeBSD distribution (e.g. CDROM), or by
using make buildworld / buildkernel from your own world and kernel
configuration.
To use a distribution (e.g. FreeBSD cdrom), you need access to it
(e.g. a mounted FreeBSD ISO via mdconfig) and use BASE=/path/to/distribution
To use your own but already built world and kernel, use CUSTOM=1
If you want this script to do make buildworld and make buildkernel for you,
use BUILDWORLD=1 and BUILDKERNEL=1
4. Creating images
You may create three types of output: disc image for use by dd(1),
ISO image or a simple .tar.gz file
a) disc image
examples: make BASE=/cdrom/7.2-RELEASE
make CUSTOM=1 BUILDWORLD=1 BUILDKERNEL=1
b) bootable ISO file:
examples: make iso BASE=/cdrom/7.2-RELEASE
make iso CUSTOM=1 BUILDWORLD=1 BUILDKERNEL=1
c) .tar.gz file:
examples: make tar BASE=/cdrom/7.2-RELEASE
make tar CUSTOM=1 BUILDWORLD=1 BUILDKERNEL=1
kickbsd /AT\ ya.ru