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

Fail autoupgrade after manual upgrade using different image size

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
2 Posts 2 Posters 1.5k 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 Aug 2, 2011, 11:51 AM Aug 2, 2011, 11:38 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Aug 8, 2011, 1:43 PM

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received