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

[Solved] Upgrade failed

2.1 Snapshot Feedback and Problems - RETIRED
2
6
8.6k
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.
  • W
    wallabybob
    last edited by Feb 29, 2012, 12:30 PM Feb 28, 2012, 10:46 PM

    On a pfSense 2.0.1 system I upgraded firmware using http://iserv.nl/files/pfsense/releng83/pfSense-Full-Update-2.1-DEVELOPMENT-i386-20120227-2226.tgz.

    On reboot the boot loader reported:

    Unable to load a kernel!
    –
    Can't load 'kernel'

    The boot loader command ls /boot/kernel shows only the file pfsense_kernel.txt whereas the same (shell) command on a pSense 2.0.1 shows kernel.gz and a bunch of .ko files.

    I did wonder that the 2.1 i386 Update is 70MB while the 2.0 i386 Release Full Update is 88MB and the 2.1 i386 memstick is 80MB while the 2.0.1 i386 Release memstick is 98MB. Some of the snapshots are a few sandwiches short of a full picnic?

    1 Reply Last reply Reply Quote 0
    • E
      Efonnes
      last edited by Feb 29, 2012, 12:53 AM

      Was it using either the uniprocessor kernel or the dev kernel?  Both of those were removed semi-recently.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by Feb 29, 2012, 2:16 AM

        @Efonne:

        Was it using either the uniprocessor kernel or the dev kernel?  Both of those were removed semi-recently.

        If  recall correctly, when I installed pfSense 2.0.1 a few weeks I selected Advanced install and was asked to select uniprocessor, SMP or developers' kernel and I selected developers' kernel.

        This is a path of no upgrade?

        How do I recover? Change /boot/kernel/pfsense_kernel.txt to SMP and Upgrade again?

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes
          last edited by Feb 29, 2012, 4:07 AM

          If you boot from the LiveCD it should be possible to fix it by mounting your root filesystem and running this command that comes from /tmp/post_upgrade_command, adding to the paths as appropriate for where you mounted it:

          tar xzpf /kernels/kernel_SMP.gz –exclude loader.conf -C /boot/

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by Feb 29, 2012, 7:08 AM

            Thanks. Is this a generic problem with upgrades or a problem with upgrading from the "wrong" kernel?

            1 Reply Last reply Reply Quote 0
            • W
              wallabybob
              last edited by Feb 29, 2012, 12:28 PM

              Before I aw this suggestion @Efonne:

              If you boot from the LiveCD it should be possible to fix it by mounting your root filesystem and running this command that comes from /tmp/post_upgrade_command, adding to the paths as appropriate for where you mounted it:

              tar xzpf /kernels/kernel_SMP.gz –exclude loader.conf -C /boot/

              I had reinstalled 2.0.1.

              I decided to try changing /boot/kernel/pfsense_kernel.txt to SMP and then upgrade to 2.1. If the upgrade didn't work I could try booting the LiveCD and issuing the tar command. The firmware upgrade completed successfully and the subsequent reboot successfully booted FreeBSD 8.3-PRERELEASE.

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