Use Win32DiskImager to make backup-file of your SD card.
If your Raspberry PI uses small SD-card ( < 4GB) you can get the "out of free space" error. Try to delete temporary files and unused downloaded package files (.deb files) in "/var/cache/apt/archives". You can remove these in order to free up space with
The official documentation says that there are two steps to upgrading. First, runsudo apt-get clean
in order to synchronise the database of available software packages and the versions available. Next, runsudo apt-get update
which will cause any packages with newer versions available to be updated.sudo apt-get upgrade
This can take more than an hour.
Doing this regularly will keep your installation up to date and it will be equivalent to the latest released image.
The kernel and firmware are installed as a Debian package. These packages are updated infrequently.
If you want to try more recent experimental software, it's also easy to update to the latest available version using
and try the latest firmware. Asudo rpi-update
is needed now. The firmware update is safe and painless.sudo reboot
To get the Raspbian "metapackage linux kernel" with corresponding linux-headers do the following:
Edit "/boot/config.txt" file and append at end of this file command to boot new kernel:sudo apt-get install linux-image-rpi-rpfv
Code: Select all
kernel=vmlinuz-3.12-1-rpi initramfs initrd.img-3.12-1-rpi followkernel
At last you can download Linux headers for your new kerneluname -a
sudo apt-get install linux-headers-rpi-rpfv
P.S. Some kernel-builds does not include support for SPI, I2C e.t.c.apt-get install linux-headers-rpi