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

    Upgrading from 1.2.2 to latest NanoBSD on Alix

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    6 Posts 4 Posters 3.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.
    • K
      kapara
      last edited by

      I have an Alix 3E 2D3 with:

      Version 1.2.2
      built on Thu Jan 8 23:09:11 EST 2009 
      Platform embedded

      I am planning to upgrade to latest NanoBSD and understand that I need to flash from scratch.

      Can I restore all or parts of my configuration or do I need to recreate the configuration (Rules/1-to-1 NAT..etc)?

      Skype ID:  Marinhd

      1 Reply Last reply Reply Quote 0
      • G
        gloomrider
        last edited by

        If you can get a BSD box (or something else that will mount UFS), you can tar up everything in your /cf partition and then restore it to the new /cf partition on your freshly flashed CF card.  I would strongly recommend a second CF card just so you can go back to the old card if you have to.  I have a triple-booting laptop that has XP, Fedora 11, & PC-BSD 7.1.1.

        The steps I used:

        1. Shut down the ALIX box
        2. Open the case and remove the CF card
        3. Attach the CF card to a card reader and attach the USB cable to a running PC-BSD instance.
        4. PC-BSD should detect the volumes and allow you to browse them with dolphin
        5. After you have found the /cf partition on the card, tar the entire contents to somewhere on the laptop

        
        # cd /media/disk
        # tar cf ~/cf.tar .
        
        

        6. unmount ("umount" or the dolphin eject "button") the /cf partition from the laptop and remove your CF card from the reader
        7 (Assuming you have already flashed a new card with the lastest snapshot of 1.2.3-RC3) insert the new card into the card reader
        8 Again, with dolphin on PC-BSD, find the /cf partition
        9 Now, delete the contents of this partition:

        
        # cd /media/disk
        # rm -rf *
        # rm -rf .*
        
        

        10 Now restore your config file, ssh keys, etc.

        
        # tar xpf ~/cf.tar
        
        

        11 Eject the /cf partition again, remove, reinstall into your ALIX box and boot!

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          If you just want the config, a 1.2.2 config should restore just fine on a 1.2.3RC box.

          1 Reply Last reply Reply Quote 0
          • Z
            Zorac
            last edited by

            i went from 1.2.2 embedded to 1.2.3rc3 nano and use the web interface to back up my settings and restore them from the old to new version with no issues.

            1 Reply Last reply Reply Quote 0
            • K
              kapara
              last edited by

              Happy to hear…. Gloomrider was makin me dizzy.. :-)  Just teasing... thanks for the feedback though..  ;D

              Skype ID:  Marinhd

              1 Reply Last reply Reply Quote 0
              • G
                gloomrider
                last edited by

                @kapara:

                Happy to hear…. Gloomrider was makin me dizzy.. :-)  Just teasing... thanks for the feedback though..  ;D

                I like to preserve the RRD graphs  ;D

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