Trying to do ZFS with opnsense

Started by j_s, April 18, 2020, 01:20:01 PM

Previous topic - Next topic
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?

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.

:)

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


Cheers,
Franco

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/ ?

Mandatory instructions are here: https://github.com/opnsense/update#opnsense-bootstrap

Use FreeBSD, not HardenedBSD.


Cheers,
Franco

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.