aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/zfs
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2018-10-25 17:12:26 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2018-10-25 17:12:26 +0000
commit043d1f2004aee201ba00f65cffaab7e6feb3c31b (patch)
treedd9186b77bdc1b8d68b1a1bc935b4a572c92404e /en_US.ISO8859-1/books/handbook/zfs
parente8828340386fc1e1b6c9fb788e32ac8430e23484 (diff)
downloaddoc-043d1f2004aee201ba00f65cffaab7e6feb3c31b.tar.gz
doc-043d1f2004aee201ba00f65cffaab7e6feb3c31b.zip
Describe how to install the zfs bootcode for GPT and EFI.
Submitted by: sineastris@gmail.com (via freebsd-doc)
Notes
Notes: svn path=/head/; revision=52404
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/zfs')
-rw-r--r--en_US.ISO8859-1/books/handbook/zfs/chapter.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/en_US.ISO8859-1/books/handbook/zfs/chapter.xml b/en_US.ISO8859-1/books/handbook/zfs/chapter.xml
index b9c1ef5b3b..d25f283aaa 100644
--- a/en_US.ISO8859-1/books/handbook/zfs/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/zfs/chapter.xml
@@ -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>