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

    Help upgraded to 2.1.3 and Failed with error can't load kernel

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 2 Posters 2.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.
    • Q
      qwaven
      last edited by

      Hey all,

      Been running pfsense 2.1-release for a while now. Decided to upgrade since my system was saying updates are available. Clicked to update and opted for a full system backup before upgrade. Process took a while I imagine because of the backup process. Anyway system rebooted and all I see is the BSD boot loader. It tries to boot but can't find the kernel.

      Does anyone have any advice? I'd really rather not lose my settings so if there is a way I can revert back or fix the kernel issue that would be great! I didn't grab a recent backup other than the one in the backup process thinking I'd be able to use it should I have issues with the upgrade! :(

      Hope you can help. Thanks!

      1 Reply Last reply Reply Quote 0
      • Q
        qwaven
        last edited by

        I've read some info as I understand if I take the install CD and boot off it, I can run a "repair" install?

        Will this wipe anything?

        Thoughts?

        1 Reply Last reply Reply Quote 0
        • D
          divsys
          last edited by

          What hardware are you running?
          Do you have a hard drive or flash install?

          If you have a copy of your original config.xml, it's probably simplest to try a new install and just restore the previous config.  That's usually the fastest and safest method when things go poorly.

          Failing that, you can use a Live CD to start a new install, but choose "Recover config.XML".

          This will start an instance of pfsense and attempt to locate your previous installation's partitions.

          It will let you shell out and access the original install under a mount point (/tmp/hdrescue (?) if I remember right).
          You can find your original config.xml in that tree.

          -jfp

          1 Reply Last reply Reply Quote 0
          • Q
            qwaven
            last edited by

            Hey divsys,

            Thanks for the info. I've tried the rescue config method as I'm not sure how current my backup config is, if it would contain some settings I made recently.

            Anyway trying to confirm what is expected with the recovery mode. When I do this it scans my drive and then I see interface assignment settings. I did this and then the screen goes back to the menu where you can drop to shell, upgrade…etc.

            1. Is this correct and my config will be applied later?
            2. I dropped to shell and was able to locate my config under tmp/hdrecovery... Is there a way for me to save my config from here or will these directories be there after install?

            Hope you can help.

            Thanks

            1 Reply Last reply Reply Quote 0
            • Q
              qwaven
              last edited by

              Hello divsys,

              To update: I've since managed to mount another usb stick and copy my config to it.

              For reference:

              
              mkdir /tmp/mnt/usb
              mount_msdosfs /dev/da1 /tmp/mnt/usb
              mkdir /tmp/mnt/usb/conf
              cp /tmp/hdrescue/cf/conf/config.xml /tmp/mnt/usb/conf/config.xml
              umount /dev/da1
              
              check it on another PC!!
              
              

              Re: installed normally (tried loading config from usbkey/conf/ directory but only got half my settings) so after install I restored my config again.

              So far looks good. Just waiting for packages to re: install now. I imagine I'll still be missing a few files…etc. but shouldn't be a big deal.

              Thanks so much for your help.

              Cheers! :)

              1 Reply Last reply Reply Quote 0
              • D
                divsys
                last edited by

                Glad it worked out

                I still find the recovery tools built into pfsense saving my butt from time to time as well  :D

                The lesson I've learned (the hard way) is to make backups - often.

                -jfp

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