Date: Tue, 9 Jun 2015 13:32:49 +0000 (UTC) From: Kris Moore <kmoore@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388934 - head/sysutils/grub2-pcbsd Message-ID: <201506091332.t59DWnnV089951@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmoore Date: Tue Jun 9 13:32:49 2015 New Revision: 388934 URL: https://svnweb.freebsd.org/changeset/ports/388934 Log: - Update pkg-message with additional usage information Modified: head/sysutils/grub2-pcbsd/pkg-message Modified: head/sysutils/grub2-pcbsd/pkg-message ============================================================================== --- head/sysutils/grub2-pcbsd/pkg-message Tue Jun 9 13:28:13 2015 (r388933) +++ head/sysutils/grub2-pcbsd/pkg-message Tue Jun 9 13:32:49 2015 (r388934) @@ -1,16 +1,4 @@ -############################################################# -To install GRUB on the master boot record of your hard drive -use 'grub-install <drive-to-install>' command. - -A typical menu entry in /boot/grub/grub.cfg for FreeBSD: -menuentry "FreeBSD" { - set root="(hd0,msdos1,bsd1)" - kfreebsd /boot/loader -} -Or use grub-mkconfig to create the config file. -############################################################# - -This version of grub includes support for PC-BSD style boot +This version of GRUB includes support for PC-BSD style boot environments. For it to properly detect / populate your BE menus you must have your root zpool setup in the following manner: @@ -18,3 +6,14 @@ manner: <tank>/ROOT/<be> Where <tank> is your zpool, and <be> is your '/' mountpoint. +The "beadm" utility must be installed and working before using +GRUB utilities. + +Additionally, when using GPT, you must have a created a +"bios-boot" partition at install time. This partition is used +for GRUB's modules for GELI/ZFS and related bits. + +To install GRUB as your boot-loader, use the following command: + +# grub-install /dev/ada0 (replace ada0 with your disk) +# grub-mkconfig -o /boot/grub/grub.cfg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506091332.t59DWnnV089951>