From owner-svn-ports-head@FreeBSD.ORG Tue Jun 9 13:32:50 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 227DA95D; Tue, 9 Jun 2015 13:32:50 +0000 (UTC) (envelope-from kmoore@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1090610DF; Tue, 9 Jun 2015 13:32:50 +0000 (UTC) (envelope-from kmoore@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t59DWn7r089952; Tue, 9 Jun 2015 13:32:49 GMT (envelope-from kmoore@FreeBSD.org) Received: (from kmoore@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t59DWnnV089951; Tue, 9 Jun 2015 13:32:49 GMT (envelope-from kmoore@FreeBSD.org) Message-Id: <201506091332.t59DWnnV089951@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kmoore set sender to kmoore@FreeBSD.org using -f From: Kris Moore Date: Tue, 9 Jun 2015 13:32:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388934 - head/sysutils/grub2-pcbsd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 13:32:50 -0000 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 ' 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: /ROOT/ Where is your zpool, and 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