ZFS-on-Root method

Allan Jude allanjude at freebsd.org
Thu Jun 12 05:33:04 UTC 2014


On 2014-06-12 00:34, Eitan Adler wrote:
> I think you meant Allan.  He was teaching me ZFS stuff too :)
> 
> On 11 June 2014 00:05,  <freebsd at fongaboo.com> wrote:
>>
>> I believe when we chatted, you noted that you wrote the ZFS-on-Root option
>> in the FreeBSD installer. Can you tell me which of these methods it uses?
>>
>> https://wiki.freebsd.org/RootOnZFS/UFSBoot
>>
>> https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition
>>
>> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1
>>
>>
>> Thanks!
>>
>>
>>  -------------------------------------------------------------------------
>>  shot through the heart              ooh baby do you know what that's worth
>>  and you're to blame                         ooh heaven is a place on earth
>>  darling you give love                  they say in heaven love comes first
>>  a bad name                              we'll make heaven a place on earth
>>  ORBITAL                                                     "Halcyon Live"
>>
> 
> 
> 

It uses a heavily modified version of this:

https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE

The method it uses is not recreated explicitly on the wiki, as it has a
number of variables, especially the newer version in head that offers
encrypted and/or mirrored swap as well.

If you are interested in how it works, you can read the source code here:

http://svnweb.freebsd.org/base/head/usr.sbin/bsdinstall/scripts/zfsboot?view=markup

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140612/ebe45059/attachment.sig>


More information about the freebsd-questions mailing list