Note: You are viewing an old version of this page. View the current version.

# 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
make DESTDIR=$DESTDIR distrib-dirs
make DESTDIR=$DESTDIR installworld
make DESTDIR=$DESTDIR installkernel KERNCONF=STATUS
make DESTDIR=$DESTDIR distribution

# Configure /etc stuff in /mnt, then umount