Date: Thu, 25 Oct 2018 17:12:26 +0000 (UTC) From: Benedict Reuschling <bcr@FreeBSD.org> 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 Message-ID: <201810251712.w9PHCQYu030443@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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': <para>The boot code on systems that boot from a pool must be updated to support the new pool version. Use <command>gpart bootcode</command> on the partition that - contains the boot code. See &man.gpart.8; for more - information.</para> + contains the boot code. There are two types of bootcode + available, depending on way the system boots: + <acronym>GPT</acronym> (the most common option) and + <acronym>EFI</acronym> (for more modern systems).</para> + + <para>For legacy boot using GPT, use the following + command:</para> + + <screen>&prompt.root; <userinput>gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i <replaceable>1</replaceable> <replaceable>ada1</replaceable></userinput></screen> + + <para>For systems using EFI to boot, execute the following + command:</para> + + <screen>&prompt.root; <userinput>gpart bootcode -p /boot/boot1.efifat -i <replaceable>1</replaceable> <replaceable>ada1</replaceable></userinput></screen> + + <para>Apply the bootcode to all bootable disks in the pool. + See &man.gpart.8; for more information.</para> </warning> </sect2>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810251712.w9PHCQYu030443>