PKGBASE in ZFS Boot Environments World
Date: Thu, 16 Oct 2025 08:04:55 UTC
We know that 'pkg delete -afy' will delete all PKGBASE packages without asking ... but that will also render ZFS Boot Environments USELESS as there is no loader(8) anymore to show the ZFS boot menu for BE selection.
OK ls boot
boot
d zfs
d efi
loader.conf
entropy
d firmware
My proposal - always keep a MINIMUM set of files allowing to show loader(8) boot menu - so anyone - even after wiping their FreeBSD system with pkg(8) - will be able to boot into other backup ZFS Boot Environment.