Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HELP - pfsense fails to boot after restart

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kal800
      last edited by

      Hi,

      Here's the case - I've had some IP addressing conflicts between two VPNs on one of the hosts, so I needed to change openVPN address range within pfSense. I've done so, but since there were some problems with routing I reset the States table. Then I've lost internet connection (being able to ping IP addresses, but DNS has not been resolving anything). I've noticed, that everything slowed down on the web interface - it took a minute to load firewall rules table - only the main dashboard was loading as usual, being cached in the browser I suppose. Then I logged in using ssh - menu appeared, I chose option 5 to reboot. It did not succeed, it ended with an error of libcrypt.so or similar - I do not recall exactly. So I entered the shell and run reboot command, so it did, and did not wake up. Ping is not responding - host is down. I entered IPMI console and it showed:

      BIOS drive C: is disk0
      BIOS drive D: is disk1
      
      Can't find /boot/zfsloader
      Can't find /boot/loader
      Can't find /boot/kernel/kernel
      FreeBSD/x86 boot
      Default: zfs:pfSense/ROOT/default:/boot/kernel/kernel
      boot:
      

      I've got two identical SSD drives set up as RAID1 on pfSense zfs filesystem. I suspected the disk failure and I tried to boot up on the single one, but without any success..

      Please help - the whole environment is down, there is no internet, and my programmers are unable to work on their VMs....

      Thanks

      Kal800

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Fastest way back is probably to reinstall and restore your config.

        What sort of RAID were you using? ZFS mirror?

        Steve

        K 1 Reply Last reply Reply Quote 0
        • K
          kal800 @stephenw10
          last edited by kal800

          @stephenw10

          Yes, this is zfs mirror. I was able to import the pool and mount the pfSense dataset using FreeBSD USB image with single user mode, but I am unable to see any file. For example under /mnt where I set my mountpoint there is ./reservation folder visible, but no actual files. How can I retrieve the config? As far as I remember, I set automatic backup, but this is useless as the backup files are inside the filesystem, which probably got corrupt...

          Kal800

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @kal800
            last edited by

            @kal800 If it’s the pfSense ABC you can restore:
            https://docs.netgate.com/pfsense/en/latest/backup/autoconfigbackup.html#bare-metal-restoration

            There is this if you can get it to see the file: https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html

            Always have a backup…

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.