rm ${1}/etc/fstab
rm ${1}/etc/rc.conf.local
mkimg -s gpt \
mkimg -s mbr \
-b ${1}/boot/pmbr \
-b ${1}/boot/mbr \
-p freebsd-boot:=${1}/boot/gptboot \
-p freebsd:-"mkimg -s bsd -b ${1}/boot/boot -p freebsd-ufs:=${2}.part" \
-p freebsd-ufs:=${2}.part \
-p freebsd-swap::1M \
-o ${2}
rm ${2}.part