To use Raspberry Pi, we need an operating system. By default, Raspberry Pi will look for the operating system on the inserted SD card. This requires a computer to image the storage device as a boot device and insert the storage device into the computer. Most Raspberry Pi users choose microSD card as the boot device.
Use Raspberry Pi Imager to install the operating system. This tool can download and write images on macOS, Windows, and Linux. It supports many popular Raspberry Pi operating system images and supports images downloaded directly from Raspberry Pi or third-party vendors (such as Ubuntu). Imager can be used to pre-configure credentials and remote access settings.
You can install Imager in the following ways:
˙macOS, Windows: Download the latest version from https://www.raspberrypi.com/software/ and run the installer.
˙Linux: Run sudo apt install rpi-imager in the terminal to install.
After installing Imager, start the application by clicking the Raspberry Pi Imager icon or running rpi-imager.
Preparation:
Burning system:
Note: After the burning is successful, the system may prompt to format the memory card. At this time, do not format the burned memory card.
Raspberry Pi uses SD card to load the system. If the SD card is lost or damaged, the data on the Raspberry Pi will be lost, so it is very important to backup the Raspberry Pi system.
Preparation: a. Raspberry Pi SD card; b. Card reader; c. Install Win32DiskImager software
If there is no Linux operating system, you can also back up under Windows, but the size of the backed up file is actually the size of the SD card.
First create a blank .img suffix file, open Win32DiskImager, and then select the SD card as shown below, select the newly created blank .img file, and directly read it to back up the system. If you need to reinstall, directly select this image file, select the SD card, and click Write to restore.
Advantages: simple operation, backup and restore are implemented by the same software.
Disadvantages: It takes up too much space, the backup is of the entire card, the obtained IMG is the size of the card, and it can only be restored to the original card or a card larger than the original card.