zfs boot manual pages

Warren Block wblock at wonkity.com
Tue Feb 4 20:13:56 UTC 2014


On Tue, 4 Feb 2014, Scot Hetzel wrote:

> On Tue, Feb 4, 2014 at 7:53 AM, Andriy Gapon <avg at freebsd.org> wrote:
>>
>> I've started working on manual pages for the zfs boot chain.
>>
>> Please [p]review my work in progress here:
>> https://github.com/avg-I/freebsd/compare/review;zfs-boot-man-pages
>>
>> Any additions, corrections, suggestions and other kinds of reviewing are
>> welcome.  Patches and pull requests are very welcome!
>>
>> Many thanks to Warren Block for the initial review and many fixes.
>
> One fix for the gptzfsboot man page would be to mention that
> gptzfsboot is installed into a GPT partition of type freebsd-boot, and
> that the -i 1 refers to the GPT index for this partition.

We are missing that from the gptboot.8 page also.

   gptzfsboot is installed in a freebsd-boot partition, usually the
   first partition on the disk.  A ``protective MBR'' (see gpart(8)) is
   typically used in combination with gptzfsboot.

   To install gptzfsboot on the ada0 drive:

         gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0


More information about the freebsd-doc mailing list