Re: zfs boot manual pages

2014-02-04 Thread Scot Hetzel
On Tue, Feb 4, 2014 at 2:13 PM, Warren Block  wrote:
> On Tue, 4 Feb 2014, Scot Hetzel wrote:
>
>> On Tue, Feb 4, 2014 at 7:53 AM, Andriy Gapon  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.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: zfs boot manual pages

2014-02-04 Thread Warren Block

On Tue, 4 Feb 2014, Scot Hetzel wrote:


On Tue, Feb 4, 2014 at 7:53 AM, Andriy Gapon  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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: zfs boot manual pages

2014-02-04 Thread Scot Hetzel
On Tue, Feb 4, 2014 at 7:53 AM, Andriy Gapon  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.

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"