# Prepare disk
fdisk -B /dev/da0
bsdlabel -w -B /dev/da0s1
glabel label -v root /dev/da0s1a
newfs -U /dev/label/root
mount /dev/label/root /mnt

# Install
export DESTDIR=/mnt
cd /usr/src
# - Create the directory structure, lest everything else fail.
make DESTDIR=$DESTDIR distrib-dirs
# - Install the buildworld-compiled binaries
make DESTDIR=$DESTDIR installworld
# - Install the buildkernel-compiled kernel
make DESTDIR=$DESTDIR installkernel KERNCONF=STATUS
# - Install all other ancillary scripts and files for a fully populated root
make DESTDIR=$DESTDIR distribution

# Configure /etc stuff in /mnt, then umount