gptboot tutorial

gpt create wd0
gpt add -b 64 -s 2097152 wd0
dkctl wd0 addwedge wd0_1 64 2097152 ffs
newfs -O2 dk0
installboot /dev/rdk0 /usr/mdec/bootxx_ffsv2
gpt biosboot dk0
mount /dev/dk0 /mnt
cp -p /usr/mdec/boot /mnt/
umount /mnt