Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Fail autoupgrade after manual upgrade using different image size

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 1.8k 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.
    • I
      intera5
      last edited by

      HI!

      (sorry for my bad english)

      Some days ago, I do a manually upgrade using an image  that I download from snapshot server. My CF is 4GB but I've downloaded a 2GB by error.

      After upgrade using the 2GB on a 4GB system, the autoupdate always fail with this error:

      Upgrade failed due to the upgrade image being larger than the partition that is configured on disk.  Halting. Size on disk: 929 < Size of new image: 1885

      So, the 2GB upgrade changed the partition size. Then, unique way to upgrade is downloading the 2GB update file and manually apply the image.

      Thereis a way to recover the original partiion size of 4GB so I can use the autoupgrade proceess ?

      Thanks !

      Edit: I found that the label size for ad0s1a is incorrect:

      =>     63  7835121  ad0  MBR  (3.7G)
            63  3861585    1  freebsd  [active]  (1.8G)
       3861648       63       - free -  (32K)
       3861711  3861585    2  freebsd  (1.8G)
       7723296   102816    3  freebsd  (50M)
       7826112     9072       - free -  (4.4M)

      =>      0  3861585  ad0s1  BSD  (1.8G)
             0       16         - free -  (8.0K)
      _      16  1902017      1  !0  (929M)_
       1902033  1959552         - free -  (957M)

      =>      0  3861585  ad0s2  BSD  (1.8G)
             0       16         - free -  (8.0K)
            16  3861569      1  !0  (1.8G)

      So, I tried to change with bsdlabel, but got the error:

      disklabel: Class not found

      when saving the change. Any idea ?

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

        Boot the other slice (the one that is still from the 4gb image size) and then re-run a proper upgrade.

        If that doesn't work, you'll have to reimage the entire card.

        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!

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy