Home Contact us Terms & conditions Shopping cart Surplus sales


Linux SoM


Migrate from Debian 6.0 Squeeze to Debian 7.0 Wheezy

This article illustrate how to migrate your FOX Board G20 Linux distribution to the new testing Debian 7.0 called Wheezy.

The testing distribution contains packages that haven't been accepted into a stable release yet, but they are in the queue for that. The main advantage of using this distribution is that it has more recent versions of software.

To know more about this new release read the official Debian documentation.

Use a clone of your microSD to try this upgrade (read how to do it).

It's required to set a swap partition using an USB memory key or a swap partition on your microSD.

Memory swap on an USB memory key

Format a USB memory key as linux swap using gparted on your Linux PC, plug the USB key in the FOX Board USB port and check with dmesg command on which device it is allocated (usually /dev/sda1).

Activate the memory swop on it typing:

debarm:~# swapon /dev/sda1

Memory swap on a microSD partition

Probably your microSD has already a swap partition called swap.

Open the file /etc/fstab and remove the # char from this line:

#/dev/mmcblk0p4 none swap sw 0 0 

Save and reboot the FOX by typing:

debarm:~# reboot

In that way the swap partition will be always mounted and active on any boot.

If, for some reason, you want the turn off the swap partition type:

debarm:~# swapoff -a

To turn it on again type:

debarm:~# swapon -a

Set up the Wheezy repositories instead on Squeeze

Edit the file /etc/apt/sources.list and replace all the words “squeeze” in “wheezy”.

This is the old contents of /etc/apt/sources.list:

deb http://ftp.it.debian.org/debian squeeze main                                
deb-src http://ftp.it.debian.org/debian squeeze main                            
deb http://security.debian.org/ squeeze/updates main                            
deb-src http://security.debian.org/ squeeze/updates main 

This is the new content:

deb http://ftp.it.debian.org/debian wheezy main                                
deb-src http://ftp.it.debian.org/debian wheezy main                            
deb http://security.debian.org/ wheezy/updates main                            
deb-src http://security.debian.org/ wheezy/updates main 

Note that the .it. in the urls within the /etc/apt/sources.list file stand for Italy so it might change to your own country's two letter abbreviation.

Launch the upgrading

Be sure that the FOX system time is correct (read how to do) then access to the FOX Board system console in SSH (don't use minicom on the DPI console because it doesn't views well the coulored screens) and type:

debarm:~# apt-get update
...
debarm:~# apt-get dist-upgrade
...

Accept all the default option.

When finished remove the file /etc/udev/rules.d/70-persistent-net.rules and reboot the board.

debarm:~# rm /etc/udev/rules.d/70-persistent-net.rules
debarm:~# reboot
...



Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel +39.06.99.12.187 - Fax +39.06.622.765.31
http://www.acmesystems.it -
Iscritta al Registro delle Imprese di Roma al n. 08114831004


Atmel© Certified Partner

Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The mantainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems doesn't provide any direct support for the Open Source preinstalled software but provides, through these pages and forum posts, all the information required to obtain the sources, install, use and update the Open Source softwares runnable on the FOX Board, NetusG20, AriaG25 and Terra platforms. Please note that all the preinstalled softwares, used on the Acme Systems products, are Open Source and you will have to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff here are our contacts please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS so could be better to post your questions directly to the forum listed below to be sure that all the contributors of this site and the large software developers community will read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License