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

    Not understanding Boot Environments

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 114 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
      renegade
      last edited by

      Hello,

      yesterday, I felt the urgent need, to update to the current 25.07 RC.
      A boot environment snapshot was taken automatically.
      Upgrade worked fine and after reboot, the 25.07 RC was working fine - including all updated packages.
      However, when I later attempted a rollback, I went to Boot Environment and selected via the "play button" the old snapshot.
      It rebooted to 24.11 but the packages seemed to be still the packages from 25.07. It was a hassle to downgrade them again to 24.11 status. It seems that the selected upgrade branch was still selected to 25.07.
      What should be part of a snapshot?

      • Full OS?
      • Full config?
      • Full packages?
      • Selected upgrade branch?
      • ...?

      Thanks in advance for any insights – much appreciated!

      Bob.DigB S 2 Replies Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @renegade
        last edited by

        @renegade said in Not understanding Boot Environments:

        upgrade branch was still selected to 25.07

        Even if, you select the right branch and are good, nothing else to do or downgrade.
        I too think it is not as easy to get, what it is doing but once you learned about snapshots and the package system in pfSense, there is no problem.

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @renegade
          last edited by

          @renegade reverting should not need to reinstall packages so not sure what happened. A BE is basically “stop writing to ‘this disk’ and start another.” Loosely.

          The (>) button is one reboot: https://docs.netgate.com/pfsense/en/latest/backup/zfsbe/gui.html#selecting-boot-environments-in-the-gui

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

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

            Mmm that^.

            However what you will see is that after booting back into the 24.11 BE the update branch will still be set to 25.07-RC because that was the last thing that was done before the upgrade took the snapshot. So if you plan to run 24.11 for some time after reverting you would need to set the update branch back to 24.11 in that BE before doing any package operations.

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