Date: Sun, 23 Jun 2013 21:40:17 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Polytropon <freebsd@edvax.de> Cc: "freebsd-questions@freebsd.org List" <freebsd-questions@freebsd.org> Subject: Re: Boot Loader Issue Message-ID: <alpine.BSF.2.00.1306232139400.39334@wonkity.com> In-Reply-To: <20130624011212.2481df7e.freebsd@edvax.de> References: <DF35C473-CC17-4A32-9F28-B50F62F6C03A@lafn.org> <20130624011212.2481df7e.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1306232139400.39334>