PFSENSE PLUS ZFS BOOT RECOVERY GUIDE (ERROR: cannot open loader.lua)
-
======================================================================== PFSENSE PLUS ZFS BOOT RECOVERY GUIDE (ERROR: cannot open loader.lua) ======================================================================== 1. ACCESSING THE RECOVERY ENVIRONMENT ------------------------------------- At the 'OK' loader prompt (with pfSense Plus Installer USB plugged in): OK run usbboot Once the USB installer loads, select: (S)hell 2. MOUNTING THE ZFS POOL ------------------------ Identify and import your existing pool (usually named 'newpfSenseBackup' or 'zroot'): # zpool import -f -R /mnt newpfSenseBackup 3. FINDING A WORKING BOOT ENVIRONMENT ------------------------------------- List all available environments to find a known-good one (example., IPV6_HOST_ACTIVE): # zfs list -r newpfSenseBackup/ROOT 4. APPLYING THE FIX (MANUAL ACTIVATE) ------------------------------------- Force the pool to boot from the working environment: # zpool set bootfs=newpfSenseBackup/ROOT/IPV6_HOST_ACTIVE newpfSenseBackup 5. VERIFYING AND REBOOTING -------------------------- Confirm the 'bootfs' property matches your desired environment: # zpool get bootfs newpfSenseBackup Unmount the pool to save changes and restart: # zpool export newpfSenseBackup # reboot 6. POST-RECOVERY (CLEANUP) -------------------------- Once logged back into the pfSense WebGUI: - Navigate to: System > Boot Environments - Locate the "bad" environment (e.g., the one ending in ...20250113135850) - Select it and click the 'Trash' icon to prevent future boot loops. ========================================================================I was testing a new complied safexcel.ko driver and well ... it umm was not a good one..
-
run usbbootis a uboot command not something the bootloader can do. So that should be run at the uboot prompt in the 1100 or 2100.
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
Privacy Policy · Cookie Policy
Privacy Policy · Cookie Policy