Files
cheatsheet-tldr/tldr/rpi-imager

22 lines
668 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rpi-imager
> Flash images onto storage devices.
> More information: <https://github.com/raspberrypi/rpi-imager>.
- Write a specific image to a specific block device:
`rpi-imager --cli {{path/to/image.zip}} {{/dev/sdX}}`
- Write a specific image to a block device, disabling the checksum verification:
`rpi-imager --cli --disable-verify {{path/to/image.zip}} {{/dev/sdX}}`
- Write a specific image to a block device, which will expect a specific checksum when running the verification:
`rpi-imager --cli --sha256 {{expected_hash}} {{path/to/image.zip}} {{/dev/sdX}}`