HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rpi-imager — Flash images onto storage devices. More information: <https://github.com/raspberrypi/rpi-imager>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
ontocommanddevicesimagescliflashstoragerpi-imager

Problem

How to use the rpi-imager command: Flash images onto storage devices. More information: <https://github.com/raspberrypi/rpi-imager>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/rpi-imager

Revisions (0)

No revisions yet.