Upgrading from 1.2.2 to latest NanoBSD on Alix



  • 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)?



  • 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!



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



  • 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.



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



  • @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


Log in to reply