1. If there is a boot loader installed, choose the pfSense partition (by default, the FreeBSD boot loader is installed - press F1 to boot pfSense).
2. At the "Welcome to FreeBSD" screen with the BSD beastie, very quickly press 4 to boot into single user mode. You will not be prompted for a password.
3. Issue the following commands to remount the root file system in read-write mode:
# /sbin/mount -u / # /sbin/mount -a4. Set the
TERMCAPenvironment variables so your editor, etc. will work correctly:
# export TERM=cons25 # export TERMCAP=/etc/termcap5. If necessary, find the appropriate configuration backup using more, cat, vi or some other tool. Config file sizes may also give you a hint. Configuration backup files are located in the /conf/backup directory.
6. Restore the appropriate backup file:
# cp /conf/backup/config-1234567890.xml /conf/config.xml7. Tell FreeBSD to boot into multi-user mode by issue the exit command or by pressing Ctrl+D: