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

    pfSense will not boot

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 1.6k 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.
    • gregeehG
      gregeeh
      last edited by gregeeh

      Hi all,

      I've had pfSense installed for many years now and all has been great and I've been very happy with it. Today I needed to shut it down so I could fit in some new hardware.

      pfSense would not come up when I applied power so I connected a monitor and found the following two messages:

      can't find /boot/entropy
      can't find /etc/hostid
      

      Nothing had been changed anywhere on the PC, but I needed to get this going quick. So I placed a pfSense image onto a USB, booted and reinstalled pfSense. Then restored from an Auto Config Backup that worked.

      Any ideas why pfSense suddenly decided not to boot?

      Also, I noticed none of my packages were reinstalled with the restore along with their data. Particularly BandwidthD and RRD data which was a shame.

      TIA

      PfSense running on Qotom mini PC
      CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
      UniFi AC-Lite access point

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

        @gregeeh What was the new hardware?

        re: Bandwidthd, I have had issues in recent years where reboots and/or pfSense upgrades (which is basically when it boots) don't keep the stats, despite the option being checked in the package to save them to disk.

        Did you uncheck "Skip RRD data" when making the backup? Oh it was an auto config backup, not sure if that has RRD if the option defaults to checked/skip.

        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!

        gregeehG 1 Reply Last reply Reply Quote 0
        • gregeehG
          gregeeh @SteveITS
          last edited by

          @steveits said in pfSense will not boot:

          What was the new hardware?

          A new Switch

          @steveits said in pfSense will not boot:

          Did you uncheck "Skip RRD data"

          That option is not available in Auto Config Backup.

          PfSense running on Qotom mini PC
          CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
          UniFi AC-Lite access point

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @gregeeh
            last edited by

            @gregeeh said in pfSense will not boot:

            @steveits said in pfSense will not boot:

            What was the new hardware?

            A new Switch

            That shouldn't have required a reboot. From your description, I got the impression you added hardware to the PC. However, that would be a good place to start. Last year, my old pfSense system wouldn't boot. It turned out to be a mom board failure, so I replaced that computer with the one described in my sig.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

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

              @gregeeh said in pfSense will not boot:

              can't find /boot/entropy
              can't find /etc/hostid

              Those are expected during a normal boot, it does not indicate a boot problem.

              However the fact you are seeing them indicates it's not showing much (anything?) past that.
              Often that's because it's set to use the wrong console type. Those messages are one of the last things you see before it sets the console so if you're looking at a video console and it's configured as serial that's what you see.

              Steve

              gregeehG 1 Reply Last reply Reply Quote 0
              • gregeehG
                gregeeh @stephenw10
                last edited by gregeeh

                @stephenw10 said in pfSense will not boot:

                However the fact you are seeing them indicates it's not showing much (anything?) past that.
                Often that's because it's set to use the wrong console type. Those messages are one of the last things you see before it sets the console so if you're looking at a video console and it's configured as serial that's what you see.

                Could well be the wrong console as it normally runs headless. So how could I have got it to boot with my monitor plugged into the HDMI port? Would be helpful for next time, thanks.

                EDIT: So this is normal if configured for the wrong console and will stop it booting.

                error.jpg

                PfSense running on Qotom mini PC
                CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                UniFi AC-Lite access point

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

                  Yup, probably trying to use a different console.
                  You can force it to use the video console from the loader menu or prompt but it looks like it's already set to video from that photo.
                  It might need to be using the efi console. Is it booting uefi?

                  Steve

                  gregeehG 1 Reply Last reply Reply Quote 0
                  • gregeehG
                    gregeeh @stephenw10
                    last edited by

                    @stephenw10 - Thanks for the reply Steve. As I said in the first post, I was in a hurry to get this fixed so I just re-installed. I'm just trying to find out why it would change after several years untouched and if it happens again how do I fix it without doing a re-install.

                    Greg

                    PfSense running on Qotom mini PC
                    CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                    UniFi AC-Lite access point

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

                      Was it running 2.6? When was it last rebooted?

                      I agree I would expect anything to have changed unless something set specifically. If it was a much older install that has been upgraded across several versions it might now be installed differently. UEFI vs Legacy boot for example.

                      gregeehG 1 Reply Last reply Reply Quote 0
                      • gregeehG
                        gregeeh @stephenw10
                        last edited by

                        @stephenw10 - Yes it was already running 2.6. I just shut it down via the pfSense menu (Halt). Then disconnected the power, physically moved around the location of a few items so I could fit in the new Switch and then powered everything back up.

                        I then noticed there was no internet connection on any devices and I could not ping anything (No DHCP Server). So I connected my PC directly to the pfSense box, changed my IP manually to be in the same subnet and still could not ping pfSense. Connected a monitor and found it not booting.

                        All very weird. Maybe the pfSense box is on the way out, I don't know, it's 5 years old.

                        Thoughts?

                        Greg

                        PfSense running on Qotom mini PC
                        CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                        UniFi AC-Lite access point

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

                          If it had been upgraded from, for example, a 2.3 install originally it would be been booting legacy and a fresh install would probably be uefi.
                          If you have not connected to the console recently it might have been appearing to stall there for some time but just booting without a console. Now there is an issue but you just couldn't see it.

                          But that's something of a guess!

                          Steve

                          gregeehG 1 Reply Last reply Reply Quote 0
                          • gregeehG
                            gregeeh @stephenw10
                            last edited by

                            @stephenw10 - Your assumption is probably correct, the original install would have been done 5 years ago with whatever version was current at the time. And, I have not connected a monitor to it since. I also re-installed using the UEFI option and that's what it is in now.

                            Still does not explain why it never booted after being shutdown. Guess we will never know, but thanks again for all your input and time.

                            Greg

                            PfSense running on Qotom mini PC
                            CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                            UniFi AC-Lite access point

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