Boot Loader Issue

Warren Block wblock at wonkity.com
Mon Jun 24 03:40:22 UTC 2013


On Mon, 24 Jun 2013, Polytropon wrote:

> On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote:
>> I need to alter mountroot so it tries the right partition/slice.
>> How do I do that?  I couldn't find anything in the handbook on that.
>
> You need to install the GPT boot code, e. g.
>
> 	# gpart add -t freebsd-boot -l gpboot -b 40 -s 512K ad0
> 	# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ad0
>
> See http://www.wonkity.com/~wblock/docs/html/disksetup.html for
> details.

That is GPT bootcode, but he was switching to MBR.  That is documented 
in the second half of the link.


More information about the freebsd-questions mailing list