mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
668 B
Plaintext
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}}`
|