+1 500 000 products in offer
7000 packages per day
+300 000 clients from 150 countries
Date of publication: 11-03-2026 🕒 6 min read
When buying a Raspberry Pi, we get a computer without an operating system – it needs to be downloaded from the Internet and configured by yourself. Experimenting with our computer or its software, we may reach a point where it will be necessary to reinstall the operating system or the associated packages (software libraries). In the previous article, it was discussed what criteria to follow when choosing a Raspberry Pi model and operating system; now we will describe how to install the chosen system and how it can be “refreshed”.
The first steps with Raspberry Pi should begin by loading the chosen operating system onto a microSD card, which should be inserted into the microcomputer’s slot before powering on. For this purpose, you will need:
For the purpose of this description, let us assume that the 32-bit version of Raspberry Pi OS will be installed, which can also be supported by boards with modest hardware resources (less memory, weaker processor, etc.) or is required for compatibility with older software and more stable operation of software library packages provided by independent developers.
To write the image to the microSD card, it is most convenient to use a PC with an attached card reader and the Raspberry Pi Imager program installed. On a Windows, MacOS, or Linux PC:
If you want to install e.g., Ubuntu, choose Other general-purpose OS. Other operating systems, such as those for multimedia centers, are available in options like Media player, Emulation and game OS, etc.
The easiest way to backup a Raspberry Pi system is to copy the entire SD card or use tools such as SD Card Copier, rsync, rpi-clone, or raspiBackup. This allows quick restoration of the system in case of failure.
The simplest and most commonly used method is to create an image of the entire SD card. On a Linux computer, you can use the command:
sudo dd if=/dev/sdX of=raspberrypi_backup.img bs=4M status=progress
where /dev/sdX is the path to the SD card.
On a Windows computer, you can use programs like Win32 Disk Imager or balenaEtcher. On Raspberry Pi with Raspberry Pi OS installed, there is the SD Card Copier program available in the Accessories menu. It copies the contents of the current card to another SD card or USB drive – it is worth running it after initial system configuration. The program has a graphical interface and does not require terminal knowledge, making it very good for beginners.
For more advanced users, Rsync and Rclone programs are alternatives. The first allows making copies of changed files, while the second enables backup to cloud services like Google Drive, OneDrive, Dropbox. Note that these tend to be data backups rather than full system backups. Example usage:
rsync -av --progress /home/pi/ /media/backup/home_pi/
From repositories available on GitHub, you can download rpi-clone and/or raspiBackup programs. The first is basically a script designed to clone the system to another SD card or USB drive.
Installation:
git clone https://github.com/billw2/rpi-clone.git
sudo cp rpi-clone/rpi-clone /usr/local/sbin
Launching:
sudo rpi-clone sda
raspiBackup is a more advanced tool allowing multiple system backup versions and easy restoration.
For simple projects and to save time, an SD card image created, for example, once a week or once a month (depending on needs), is sufficient. For intensive work and experiments, using rsync or rpi-clone for quick and frequent backups is advisable. For storing backups in the cloud, rclone works best.
Transfer Multisort Elektronik (TME) is one of the world’s largest global distributors of electronic components, electrotechnical parts, workshop equipment, and industrial automation. The catalog includes over 1,500,000 products from 1,300 leading manufacturers. TME’s modern logistics centers in Łódź and Rzgów (Poland), with a combined area of over 40,000 m², ship nearly 6,000 packages daily to customers in more than 150 countries.
TME also invests in the development of knowledge and skills of young engineers and electronics enthusiasts through the TME Education project, and supports the tech community by organizing the TechMasterEvent series, promoting innovation and experience exchange.