Re: zfs boot manual pages

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Wed, 5 Feb 2014 00:58:37 -0600
On Tue, Feb 4, 2014 at 2:13 PM, Warren Block <wblock_at_wonkity.com> wrote:
> 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

That sounds perfect for both man pages.

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
Received on Wed Feb 05 2014 - 05:58:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC