#/sbin/gpart bootcode -p /boot/gptboot -i 1 [b]ada0[/b]
. Replace ada0 with your devlist
finding using: # camcontrol devlist
. The result will be something like this: <HL-DT-ST DVD-RAM GSA-H55N 1.02> at scbus0 target 0 lun 0 (pass0,cd0)
<WDC WD5001AALS-00E3A0 05.01D05> at scbus2 target 0 lun 0 (pass1,[b]ada0[/b])
<WDC WD10EARS-00Y5B1 80.00A80> at scbus3 target 0 lun 0 (pass2,[b]ada1[/b])
<Hitachi HDT725032VLA360 V54OA7EA> at scbus4 target 0 lun 0 (pass3,[b]ada2[/b])
<WDC WD10EARX-00N0YB0 51.0AB51> at scbus5 target 0 lun 0 (pass4,[b]ada3[/b])