Found a way to overcome that limitation ... by creating a separate /RESCUE (not /rescue) dir with copy of /boot and pkg-static(8) command.
That way one can restore /boot and reboot into different ZFS Boot Environment. Details here in the 'Additional Independent Rescue' section at the end: - https://vermaden.wordpress.com/2025/10/20/brave-new-pkgbase-world/ Regards, vermaden Temat: PKGBASE in ZFS Boot Environments World Data: 2025-10-16 10:04 Nadawca: "vermaden" <[email protected]> Adresat: [email protected]; [email protected]; >> 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.
