From owner-svn-doc-all@freebsd.org Thu Oct 25 17:12:27 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1018F10867E5; Thu, 25 Oct 2018 17:12:27 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA1E08FD9E; Thu, 25 Oct 2018 17:12:26 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B5C414D66; Thu, 25 Oct 2018 17:12:26 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PHCQPO030445; Thu, 25 Oct 2018 17:12:26 GMT (envelope-from bcr@FreeBSD.org) Received: (from bcr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9PHCQYu030443; Thu, 25 Oct 2018 17:12:26 GMT (envelope-from bcr@FreeBSD.org) Message-Id: <201810251712.w9PHCQYu030443@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bcr set sender to bcr@FreeBSD.org using -f From: Benedict Reuschling Date: Thu, 25 Oct 2018 17:12:26 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r52404 - head/en_US.ISO8859-1/books/handbook/zfs X-SVN-Group: doc-head X-SVN-Commit-Author: bcr X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/handbook/zfs X-SVN-Commit-Revision: 52404 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 17:12:27 -0000 Author: bcr Date: Thu Oct 25 17:12:26 2018 New Revision: 52404 URL: https://svnweb.freebsd.org/changeset/doc/52404 Log: Describe how to install the zfs bootcode for GPT and EFI. Submitted by: sineastris@gmail.com (via freebsd-doc) Modified: head/en_US.ISO8859-1/books/handbook/zfs/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/zfs/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/zfs/chapter.xml Thu Oct 25 15:55:33 2018 (r52403) +++ head/en_US.ISO8859-1/books/handbook/zfs/chapter.xml Thu Oct 25 17:12:26 2018 (r52404) @@ -1464,8 +1464,23 @@ Enabled the following features on 'mypool': The boot code on systems that boot from a pool must be updated to support the new pool version. Use gpart bootcode on the partition that - contains the boot code. See &man.gpart.8; for more - information. + contains the boot code. There are two types of bootcode + available, depending on way the system boots: + GPT (the most common option) and + EFI (for more modern systems). + + For legacy boot using GPT, use the following + command: + + &prompt.root; gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 + + For systems using EFI to boot, execute the following + command: + + &prompt.root; gpart bootcode -p /boot/boot1.efifat -i 1 ada1 + + Apply the bootcode to all bootable disks in the pool. + See &man.gpart.8; for more information.