Hello, I'd like to ask you to help me rectify my general plan or maybe the whole intention of to install freebsd to rpi4 as a server where I'd like to have jail for nextcloud, jail for homeassistant and nas. I'd like to use for freebsd the ssd storage with zfs 1TB (connected by USB), data encrypted, set wireguard to my external vps to be able to connect from anywhere. The whole idea is powered to learn something and really own my data.
plan:
1) dd rpi4 image of freebsd to SD card
2) boot SD card
3) manually set zfs to ssd connected by usb. set encryption to everything else than / /usr and /boot, if I used FDE I am unable to connect just with ssh then
4) manually install freebsd without bsdinstall command because of encryption. I am not sure about this point how to do it
5) reboot to sd card again, import zpool = mount the ssd disk
6) set correctly boot files (copy) the rpi4 it should be copy of u-boot.bin and maybe other files from https://github.com/raspberrypi/firmware/tree/master/boot
but I am also not sure about this point what is the right solution. When I ve just install the freebsd to ssd with bsdinstall without encryption the freebsd did not boot from ssd even though I set ssd as first to boot in order with rpi-eeprom. so some tweaking is needed I suppose
It looks like that running encrypted freebsd on rpi4 on separately ssd disk is not easy so maybe the whole idea is wrong.
Thank you for advices
