svn commit: r52404 - head/en_US.ISO8859-1/books/handbook/zfs
Benedict Reuschling <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] (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> _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-doc-all To unsubscribe, send any mail to "[email protected]"