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

    Boot Crash on 2.7

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    pfsenseboot hungcrashrestore
    6 Posts 3 Posters 1.4k 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
      Raj 0
      last edited by Raj 0

      Hello,

            Today, I upgraded my Pfsense from 2.6 to 2.7. 
      
             Boot was crashed after the reboot, and I failed to take backup before the reboot.
      
             Is there any way to restore my Pfsense or backup of the configuration.
      

      gptboot: No /boot/loader on 0:ad(0p2)
      gptboot: No /boot/kernel/kernel on 0:ad(0p2)

      FreeBSD/x86 boot
      Default: 0:ad(0p2)/boot/kernel/kernel
      boot:

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

        You can try booting the old kernel from /boot/kernel.old/kernel

        But it's probably easier to just install 2.7 clean.

        Steve

        R 1 Reply Last reply Reply Quote 1
        • R
          Raj 0 @stephenw10
          last edited by

          @stephenw10 No, Its not working. It remains same.

          gptboot: No /boot/loader on 0:ad(0p2)
          gptboot: No /boot/kernel/kernel on 0:ad(0p2)

          FreeBSD/x86 boot
          Default: 0:ad(0p2)/boot/kernel/kernel
          boot: /boot/kernel.old/kernelgptboot: No /boot/kernel.old/kernel on 0:ad(0p2)

          FreeBSD/x86 boot
          Default: 0:ad(0p2)/boot/kernel.old/kernel
          boot: gptboot: No /boot/kernel.old/kernel on 0:ad(0p2)

          FreeBSD/x86 boot
          Default: 0:ad(0p2)/boot/kernel.old/kernel
          boot:

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

            Hmm, might have lost the whole partition then. Reinstalling clean is almost certainly the fastest way to get back up an running.

            R 1 Reply Last reply Reply Quote 1
            • R
              Raj 0 @stephenw10
              last edited by

              @stephenw10 Yes, You are right.

              Only few items were left in the partition.

              root@:~ # mount /dev/ada0p2 /mnt
              root@:~ # ls
              .k5login .profile .shrc recover_configxml.sh
              root@:~ # cd /mnt
              root@:/mnt # ls
              .cshrc .profile .rnd .snap .sujournal dev lib libexec sbin usr var
              root@:/mnt #

              C 1 Reply Last reply Reply Quote 0
              • C
                convexscreen @Raj 0
                last edited by

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