On Sun, Jun 23, 2013 at 4:12 PM, Polytropon <free...@edvax.de> 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
Why the offset? Why 512k? > # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ad0 I think it's simpler to make an entry in /boot/loader.conf: vfs.root.mountfrom="ufs:/dev/ada0s1a" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"