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

    pfSense CE 2.8.0 upgrade stalls after reboot and gets stuck in Stage 2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    126 Posts 23 Posters 17.9k 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.
    • R
      Rnt @eracerxrs
      last edited by Rnt

      @eracerxrs, this worked for me too. Thanks!

      E 1 Reply Last reply Reply Quote 0
      • E
        eracerxrs @Rnt
        last edited by

        @Rnt @InstanceExtension

        Glad it worked out for you as well!

        The last thing I saw in the Gui Terminal update process was:

        Updating boot code...
        
        /usr/local/sbin/../libexec/install-boot.sh -b auto -f zfs -s gpt -u da0
        gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
        partcode written to da0p1
        bootcode written to da0
        No ESP partition found...skipping.
        
        Done.
        System is going to be upgraded.  Rebooting in 10 seconds.
        Success
        
        

        My FreeBSD experience is limited to when tinkering with pfSense, but whenever I experience an issue after an upgrade or systemd/grub modification on a Linux box, booting into the old kernel and then manually fixing the boot code is usually required.

        Not sure if this was actually the problem in this case because it was so fast and thankfully auto-healed!

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

          Hmm, if it was a bootloader problem I'd expect to see it fail to load the kernel. And it wouldn't effect clean installs to 2.8. But it could be a clue...

          I E 2 Replies Last reply Reply Quote 0
          • I
            InstanceExtension @stephenw10
            last edited by

            @stephenw10 said in pfSense CE 2.8.0 upgrade stalls after reboot and gets stuck when loading:

            Hmm, if it was a bootloader problem I'd expect to see it fail to load the kernel. And it wouldn't effect clean installs to 2.8. But it could be a clue...

            What clean 2.8 installs? We don't have an ISO which is just ludicrous.

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

              From the Net Installer which is also built on FreeBSD 15. So unlikely a bootloader issue.

              1 Reply Last reply Reply Quote 0
              • E
                eracerxrs @stephenw10
                last edited by

                @stephenw10

                Yes, I'm sure that would be the case for a fully corrupt bootloader, but I've encountered issues where it partially loads, but hangs where there are outdated or mismatched driver versions in the bootloader that required updates to initramfs with the expected versions.

                To investigate a bit further:

                Previously it would freeze after configuring the harddisk da0. Last line being:

                da0: 16384MB (33554432 512 byte sectors)
                

                Now that is successfully boots, here are the lines between that and the "pfSense" ascii graphic:

                Configuring crash dumps...
                Using /dev/da0p2 for dump device.
                Filesystems are clean, continuing...
                Mounting filesystems...
                Mounting ZFS boot environment... done.
                

                For kicks, I reloaded the 2.7.2 snapshot and redid the upgrade, again, it froze, so when I used the old kernel to reboot I scoured the output and this is the only thing that stood out soon after booting:

                >>> Removing vital flag from php82...done.
                >>> Locking package pfSense-pkg-System_Patches...done.
                >>> Reinstalling pkg due to ABI change...
                Checking integrity... done (0 conflicting)
                The following 1 package(s) will be affected (of 0 checked)
                
                Installed packages to be REINSTALLED:
                            pkg-1.21.3_4 [pfSense]
                
                Number of packages to be reinstalled: 1
                [1/1] Reinstalling pkg-1.21.3_4...
                [1/1] Extracting pkg-1.21.3_4: .......... done
                
                

                And it continued installing similar to before, but this time ending in success upon reboot.

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

                  If you're able to test further try setting boot_verbose=YES in /boot/loader.conf.local.

                  That should show you where it's actually hanging or not during the boot at each stage. In the normal boot you don't see any output after it mounts root until init starts.

                  1 Reply Last reply Reply Quote 1
                  • D
                    dave.opc
                    last edited by

                    i tried to install clean 2.7.2 then updated to 2.8.0 and during boot chose kernel.old
                    it started booting and updating to 2.8 (as mentioned before) but after reboot it's still stuck on the same spot, rebooting. so didn't help in my case

                    1 Reply Last reply Reply Quote 0
                    • I
                      InstanceExtension
                      last edited by

                      Note: Updated the topic to include the fact that the issue was occurring during stage 2 of the upgrade.

                      1 Reply Last reply Reply Quote 0
                      • C
                        chrcoluk
                        last edited by

                        something I learnt last week, was it seems the display for the console can freeze whilst the system carries on booting and working as normal.

                        No idea if it is happening here, but it is odd it stops on a video message.

                        pfSense CE 2.8.0

                        I 1 Reply Last reply Reply Quote 0
                        • I
                          InstanceExtension @chrcoluk
                          last edited by InstanceExtension

                          @chrcoluk As stated above "Letting it sit trying to load for an hour" no effect. When this happened to me (and others) the entire system was completely locked up. Nothing but a hard reset would bring it back.

                          1 Reply Last reply Reply Quote 1
                          • M
                            manoj-synetal @InstanceExtension
                            last edited by manoj-synetal

                            may be I go the issue we just nee dot reboot the firewall and select the old kernel and boot the firewall after boot it will reboot again and you can access the latest version of firewall which 2.8.0 I tried and it work for me.

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