Рецепт быстрой установки FreeBSD на другой носитель (/dev/ada5):% dd if=/dev/zero of=/dev/ada5 bs=100M
% gpart create -s gpt ada5
% gpart add -t freebsd-boot -s 512k -a4k -l BOOT ada5
% gpart bootcode -b /boot/pmbr ada5
% gpart bootcode -p /boot/gptboot -i1 ada5
% gpart add -t freebsd-ufs -l SYSTEMONUFS2 ada5
% newfs -U -t /dev/gpt/SYSTEMONUFS2
% mount /dev/gpt/SYSTEMONUFS2 /mnt
% cd /usr/src/ && make cleandir buildworld buildkernel installkernel installworld distribution DESTDIR=/mnt/
% cp /boot/loader.conf /mnt/boot/
% cp -r /etc/X11 /mnt/etc/
% cp /etc/devd.conf /mnt/etc/
% cp /etc/devfs.conf /mnt/etc/
% cp /etc/devfs.rules /mnt/etc/
% cp /etc/fstab /mnt/etc/
% cp /etc/hosts /mnt/etc/
% cp /etc/make.conf /mnt/etc/
% cp /etc/ntp.conf /mnt/etc/
% cp /etc/pf.conf /mnt/etc/
% cp /etc/rc.conf /mnt/etc/
% cp /etc/rc.conf.local /mnt/etc/
% cp /etc/resolv.conf /mnt/etc/
% cp /etc/src.conf /mnt/etc/
% cp /etc/sysctl.conf /mnt/etc/
% cp -a /usr/src /mnt/usr/
% cp -a /usr/obj /mnt/usr/
% cp -a /usr/ports /mnt/usr/
% cp -a /var/db/ports /mnt/var/db/
% cp -a /var/db/pkg /mnt/var/db/
% cp -a /usr/local /mnt/usr/
% dd if=/dev/zero of=/mnt/swap bs=128k count=32768
% chmod 0600 /mnt/swap
% ee /mnt/boot/loader.conf
tmpfs_load="YES"
...
% ee /mnt/etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/SYSTEMONUFS2 / ufs rw 1 1
md90 none swap sw,file=/swap,late 0 0
tmpfs /tmp tmpfs rw,mode=1777 0 0
fdesc /dev/fd fdescfs rw,auto,late 0 0
proc /proc procfs rw 0 0
% ee /mnt/etc/hosts
::1 localhost SYSTEM
127.0.0.1 localhost SYSTEM
% ee /mnt/etc/rc.conf.local
hostname="SYSTEM"
swapfile="/swap"
ifconfig_net0="DHCP"
...
% umount /mnt
% shutdown -r now