I was trying to automatically install FreeBSD through bsdinstall and was intending to use these options:
CONF_DEV, CONF_DEV_NAME are set by the user to things such as ada0, 1000.1.
When running the install script, everything is installed fine, but I cannot boot up using UEFI, instead a regular BIOS setup is created. Am I missing a variable name somewhere?
Code:
PARTITIONS=$_CONF_DEV
DISTRIBUTIONS="kernel.txz base.txz"
export ZFSBOOT_PARTITION_SCHEME="GPT"
export ZFSBOOT_BOOT_TYPE="BIOS+UEFI"
export ZFSBOOT_POOL_NAME=z_${_CONF_DEV_NAME}
export ZFSBOOT_SWAP_ENCRYPTION=no
export ZFSBOOT_SWAP_SIZE=0
# TODO: support native ZFS encryption once available (FreeBSD 13)
export ZFSBOOT_GELI_ENCRYPTION=yes
export ZFSBOOT_DISKS=${_CONF_DEV}
export nonInteractive=YES
CONF_DEV, CONF_DEV_NAME are set by the user to things such as ada0, 1000.1.
When running the install script, everything is installed fine, but I cannot boot up using UEFI, instead a regular BIOS setup is created. Am I missing a variable name somewhere?