Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2014 01:33:07 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        Eitan Adler <eadler@freebsd.org>, freebsd@fongaboo.com
Cc:        questions@freebsd.org
Subject:   Re: ZFS-on-Root method
Message-ID:  <53993B93.4060300@freebsd.org>
In-Reply-To: <CAF6rxgk7K3LEcEvFQ2dgv37L56m8k__vyjHrc9ncWL-RrrZNFA@mail.gmail.com>
References:  <alpine.BSF.2.00.1406110303030.90798@helix.wtfayla.net> <CAF6rxgk7K3LEcEvFQ2dgv37L56m8k__vyjHrc9ncWL-RrrZNFA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTmTuWAAoJEJrBFpNRJZKfMTsQAIfYmhP3jmMk9QgzQ4HJOeMv
4N0WVO94gZprz5WEgntev81Pej8u3U71IiW6r5SHMGPmz8J/DLaTGTTgEaitoEdr
OoEHss+32fg6QAGoOP13plB/QdIP2gBvr1HdeANFyGcBIx7evXEPMUdWtjoIkWaj
MG2cWd1tFF/9EiLLBWYw8im2PG01KHbzpLJPyq3k9cdCW96gNytmKL36jfzOO42k
XsR3uDbqyB/FbJlbdJ4397L/ZxMBeHf9jS2peghGiCy8DYcMACV+xrGDwERbGlS9
9xKIi3i4Z4V6kH4kWc2K6IboTx1gJOT+g9ezcYHGTwU/2qf9FPwZrGm1EEkawOdH
g6aJqSNCd9saVFl6jzEDR5S0smbZw1MM1zkT7/ywn4AFHJELplP/aQ75VJ4lMKO8
LxzguizCRGJNAunhw0O4NpRjPNzLerZMVXCF41DVxN8k547TF/PQDDgknNasHE6H
DhVokbbmWkHSoJrUsyfbEXZYS0duwxRIeEeRWgnAMA4PttDy/EehlLUN2AQ+1Ckx
ER5CP5FQnfIjxJgBuWvfeJ6gd8VO9YAZik3+LQs/7ntPmDqwymMXAsRhV+AHp+S2
rkQqmp4F6AfXAd4JgIWZBRTm7qV94vT2Diwu9goFfT6cUxoGHKNsVyXI2QvzilKM
XX3NmEUK5O3u77lYFkg6
=q35u
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53993B93.4060300>