Install Raspberry Pi OS on MircoSD
Preparation:
- Download the image. Run
sha256sum 2018-06-27-raspbian-stretch.zip. The generated hash should match the one given on the website; for the 2018-06-27 zip, this is8636ab9fdd8f58a8ec7dde33b83747696d31711d17ef68267dbbcd6cfb968c24. - Uncompress it, for example
xz -d filename
Installation:
- Insert your SD card into your computer.
- Locate the device, by running
sudo fdisk -lorlsblk. Note down the device name; let us suppose it is/dev/sdxor/dev/mmcblk0 - Unmount the partitions by running sudo
umount /dev/sdx*. It may give an error saying the disk isn't mounted - that's fine. - Copy the contents of the image file (.iso, .img) onto the SD card by running
sudo dd bs=4M if=/path/to/manjaro.iso of=/dev/sd[drive letter] status=progress
sudo dd bs=4M if=2024-11-19-raspios-bookworm-armhf.img of=/dev/mmcblk0 status=progress- Please note that block size set to 4M will work most of the time, if not, please try 1M, although 1M will take considerably longer.
dd command:
if=FILE: read from FILE instead of stdinof=FILE: write to FILE instead of stdoutstatus=LEVEL: ’progress’ shows periodic transfer statistics