Describe how to install the zfs bootcode for GPT and EFI.
Submitted by: sineastris@gmail.com (via freebsd-doc)
This commit is contained in:
parent
e882834038
commit
043d1f2004
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52404
1 changed files with 17 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue