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

    PfSense+ 22.05 -> 23.01 Boot Failure after Upgrade

    Scheduled Pinned Locked Moved General pfSense Questions
    31 Posts 7 Posters 5.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.
    • SnkS
      Snk @stephenw10
      last edited by

      @stephenw10

      Would you have any tutorial on how to expand the space within pfsense?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        In some cases, touch /root/force_growfs and then rebooting is sufficient. But that depends on which part of the disk is running out of space. That's quick and easy to try.

        A clean install of a recent base is best if you can.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        SnkS 1 Reply Last reply Reply Quote 0
        • SnkS
          Snk @jimp
          last edited by

          @jimp

          That's what I thought... I'm preparing the host to do a clean install of the 23.01 version and later return my backup.

          1 Reply Last reply Reply Quote 0
          • SnkS
            Snk
            last edited by

            I did a fresh install straight from version 2.6.0 to version 22.01 and 22.05. When going to s version 23.01 the same problem continues. Locks in masks and that's all... It's difficult.

            1 Reply Last reply Reply Quote 0
            • SnkS
              Snk
              last edited by

              Guys, any news? Did you manage to install the 23.01 version normally in Hyper-V or still nothing?

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

                No updates AFAIK. You're probably better posting in the linked thread above where we were looking at it during beta/RC.
                This is probably some issue between the boot loader and the environment presented by Hyper-V. But it only affects some instances. Testing here it always booted and ran fine.
                We are looking something similar we had to workaround in Azure that may also apply here. Unfortunately the workaround does not.

                Steve

                SnkS 1 Reply Last reply Reply Quote 0
                • SnkS
                  Snk @stephenw10
                  last edited by

                  @stephenw10

                  Hello, thanks!
                  I'll follow up on the other thread then.
                  I redid the installation from scratch, but the problem still persists.

                  1 Reply Last reply Reply Quote 0
                  • T
                    ttmcmurry
                    last edited by

                    I'm experiencing a similar upgrade issue, but from pfSense CE 2.6.0 to 23.01, on Hyper-V 2022, VM configuration 10. There was a closed issue in redmine on this that I added more details to:

                    https://redmine.pfsense.org/issues/13875

                    I think there are two issues happening, and they seem unrelated, but they are exposed by the boot-time freeze as outlined in this thread:

                    1. /etc/hostid isn't been saved/set after a successful upgrade. this is solveable manually after upgrade while pfSense 23.01 is running with a command in the pfSense shell
                    2. Even if /etc/hostid is corrected, the VM freezes if being started from a power-off state, in the manner communicated.

                    I can reproduce this 100% of the time. The only thing that makes pfSense actually start up is resetting the VM several times until it boots.

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

                      The hostid error shown at boot is harmless:

                      can't find '/etc/hostid'
                      

                      Unless you've found something different?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        ttmcmurry @stephenw10
                        last edited by

                        @stephenw10 if that's the case for hostid, understood.

                        Otherwise, this is a "me too" stating after the upgrade to 23.01, I'm also experiencing a boot failure as described above and in the Redmine post.

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

                          OK, also in Hyper-V?

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            ttmcmurry @stephenw10
                            last edited by

                            @stephenw10 yes

                            1 Reply Last reply Reply Quote 1
                            • swinnS
                              swinn
                              last edited by

                              I ran into this for the first time last night after running a Gen2 VM for many years. I haven't had time to dive into it, but here is what I noticed.

                              • Windows Server 2022 Standard
                              • Gen 2 VM, 4 cores, 4096MB RAM (not dynamic)
                              • 2 nics (WAN and LAN)
                              • VM version 10
                              • pfSense+ 23.05
                              1. First had an issue when I upgraded from 23.05 to 23.09. When it rebooted, it came up with the error. It sat like this for several hours until I could get to it physically.
                              2. In the boot menu, it had "kernel.old" as an option and that would allow it to boot. "kernel" would cause the error and hang.
                              3. I installed pfSense 2.7 fresh and after it rebooted, it hung with the error.
                              4. I noticed that if I messed around with the boot menu - just pressing keys to look at the options - when I pressed enter to continue booting, it would work. The next reboot would hang again.
                              5. Creating a Gen 1 VM worked fine.

                              I have been running this VM for years without any upgrade issues. The only thing I changed recently was upgrading the VM version from 9 to 10. I have a backup of it where it is still version 9, so I'll try restoring it and doing the upgrade to see if it still hangs.

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