Home

Install Raspberry Pi OS on MircoSD

Preparation:

  1. 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 is 8636ab9fdd8f58a8ec7dde33b83747696d31711d17ef68267dbbcd6cfb968c24.
  2. Uncompress it, for example xz -d filename

Installation:

  1. Insert your SD card into your computer.
  2. Locate the device, by running sudo fdisk -l or lsblk. Note down the device name; let us suppose it is /dev/sdx or /dev/mmcblk0
  3. Unmount the partitions by running sudo umount /dev/sdx*. It may give an error saying the disk isn't mounted - that's fine.
  4. 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 stdin
  • of=FILE: write to FILE instead of stdout
  • status=LEVEL: ’progress’ shows periodic transfer statistics

Sources. References

Date:

Screen Dimensions