OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: j_s on April 18, 2020, 01:20:01 PM

Title: Trying to do ZFS with opnsense
Post by: j_s on April 18, 2020, 01:20:01 PM
So I did this with 19.7, and it worked flawlessly.  However 20.1 is not behaving for me.

This is new hardware, and so I did an install of FreeBSD 11.2, kept everything at default.  Then ran:

# pkg install ca_root_nss
# fetch https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh
# sh ./opnsense-bootstrap.sh

After this things start downloading, and then suddenly I get errors.  I've attached a screenshot of the errors.  I tried this with 11.2, 11.3, the disc1 iso as well as the dvd iso, and they all give the same result.

I'm really not sure where to go from here.  Any advice?
Title: Re: Trying to do ZFS with opnsense
Post by: j_s on April 18, 2020, 02:10:39 PM
And I was going upstairs to go to bed and it dawned on me... my time was still set to the default from 2019.

PEBKAC.

I set the time and then everything worked.
Title: Re: Trying to do ZFS with opnsense
Post by: franco on April 20, 2020, 10:46:26 AM
:)

If you feel adventurous you could also use "-i" parameter for insecure bootstrap with the wrong time set.


Cheers,
Franco
Title: Re: Trying to do ZFS with opnsense
Post by: KoS on May 01, 2020, 06:25:16 PM
I wanted to try to install OPNsense with ZFS too. Which is the right HardenedBSD image that I would need to use for the base install before running opnsense-bootstrap.sh ?
https://ci-01.nyi.hardenedbsd.org/pub/hardenedbsd/11-stable/amd64/amd64/build-3/ ?
Title: Re: Trying to do ZFS with opnsense
Post by: franco on May 03, 2020, 05:04:19 PM
Mandatory instructions are here: https://github.com/opnsense/update#opnsense-bootstrap

Use FreeBSD, not HardenedBSD.


Cheers,
Franco
Title: Re: Trying to do ZFS with opnsense
Post by: KoS on May 07, 2020, 03:32:16 PM
Thanks Franco, it was quite straightforward with the FreeBSD boot media (deselected more or less all features and made sure to partition with ZFS) and the bootstrap script.