English Dutch (nl_NL)
# cd /usr/src/tools/tools/nanobsd <.>
# sh nanobsd.sh <.>
# cd /usr/obj/nanobsd.full <.>
# dd if=_.disk.full of=/dev/da0 bs=64k <.>
# ftp myhost
get _.disk.image "| sh updatep1"
# nc myhost 2222 | sh updatep1
# sh nanobsd.sh -c myconf.nano
# ssh myhost cat _.disk.image.gz | zcat | sh updatep1
# vi /etc/resolv.conf
[...]
# mount /cfg
# cp /etc/resolv.conf /cfg
# umount /cfg
'''
<.> Change the current directory to the base directory of the NanoBSD build script.
<.> Change the current directory to the place where the built images are located.
<.> Install NanoBSD onto the storage medium.
<.> Start the build process.
A NanoBSD image is built using a simple [.filename]#nanobsd.sh# shell script, which can be found in the [.filename]#/usr/src/tools/tools/nanobsd# directory. This script creates an image, which can be copied on the storage medium using the man:dd[1] utility.
A complete example of a configuration file for building a custom NanoBSD image can be:
A configuration file can be used to tweak as many elements as desired. Load it with `-c`
A more useful example of a customization function is the following, which changes the default size of the [.filename]#/etc# directory from 5MB to 30MB:
Abstract
According to which services are available on host serving new NanoBSD image and what type of transfer is preferred, it is possible to examine one of these three ways:
Add a `'customize_cmd cust_pkgng'` command in a customized configuration file.
Add the `cust_pkgng` to the `NANO_CUSTOMIZE` variable, or
Adding Packages