Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 00:58:37 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-doc@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>, freebsd-fs <fs@freebsd.org>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: zfs boot manual pages
Message-ID:  <CACdU%2Bf_PYfOfZssYueKpU=benrdvXCk37HftMR-1Ty2wEHoZ2w@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1402041301220.38916@wonkity.com>
References:  <201301251633.r0PGX15j040754@svn.freebsd.org> <5102B7A5.7030105@FreeBSD.org> <alpine.BSF.2.00.1307022125160.58832@wonkity.com> <51F0F0FE.6030208@FreeBSD.org> <alpine.BSF.2.00.1307281800200.12706@wonkity.com> <51F60897.1020005@FreeBSD.org> <alpine.BSF.2.00.1307291401500.46556@wonkity.com> <52E22240.5050501@FreeBSD.org> <alpine.BSF.2.00.1401241845360.92265@wonkity.com> <alpine.BSF.2.00.1401241856260.93615@wonkity.com> <alpine.BSF.2.00.1401241901580.93615@wonkity.com> <52F0F0EC.5090902@FreeBSD.org> <CACdU%2Bf-mjkLTJj2TChspvs%2BTSGgbYo48%2B7c4n%2BOYy6ERzj-46g@mail.gmail.com> <alpine.BSF.2.00.1402041301220.38916@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 4, 2014 at 2:13 PM, Warren Block <wblock@wonkity.com> wrote:
> On Tue, 4 Feb 2014, Scot Hetzel wrote:
>
>> On Tue, Feb 4, 2014 at 7:53 AM, Andriy Gapon <avg@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf_PYfOfZssYueKpU=benrdvXCk37HftMR-1Ty2wEHoZ2w>