This is a set of scripts that generates a bootable image (and/or ISO file),
that creates a working minimal installation of FreeBSD.
It is completely loaded into memory.
Root password for all images: mfsroot
All images have mfsbsd.autodhcp set - all network cards are configured for DHCP.
All zfsv15 ISO files contain 8.1-RELEASE + zfsv15 patch: use the following patch with "patch -p0" against RELENG_8_1 source checkouts: releng-8.1-zfsv15.patch
The special edition contains a special distribution file and the zfsinstall script.
You can easily install ZFS-on-root FreeBSD with this script.
v13 pools are created by default, use -V 14 or -V 15 for newer versions).
Example: zfsinstall -d /dev/ad0 -t /cdrom/8.1-RELEASE-amd64.tar.xz -s 4G
This will install a GPT partition table and ZFS on /dev/ad0, including a 4 GB GPT freebsd-swap partiton.
BUILD REQUIREMENTS
FreeBSD 6 or higher installed, tested on i386 or amd64
Base and kernel from a FreeBSD 6, 7 or 8 distribution
(release or snapshots, e.g mounted CDROM disc1 or ISO file)
For custom solutions: make buildworld / buildkernel
mkisofs from sysutils/cdrtools (optional) to create ISO images
BUILD INSTRUCTIONS:
- read hints in the sample configuration files in the conf/ directory,
- copy these files to files without .sample ending
- make modifications to suit your needs
If you want any packages installed, copy the .tbz files that should be
automatically installed into the packages/ directory WARNING: Your image should not exceed 45MB in total, otherwise kernel panic
may occur on boot-time.
Run the make command:
- to create a bootable image: make BASE=/path/to/distribution
- to create a bootable ISO: make iso BASE=/path/to/distribution
- to cleanup: make clean
- example: make BASE=/cdrom/7.3-RELEASE