copy an image to an sd card¶
gdd here, this requires the homebrew package
coreutils on a mac.
dd might also just work on your system.
copy a raspberry pi os image to an sd card:
backup and restore image¶
backup disk/sd-card to an image:
restore image to disk/sd-card:
just reverse the above:
write directly to disk from stdin (wget, curl etc.)¶
curl|bash is fine (👮♂️), so
wget | dd is as well. Common use case: You got a rescue system with a live cd but not enough/configurable storage and want to write a linux iso directly to another disk. Also, Ubuntu doesn't provide an easy to find netboot image anymore so you need at least a 1.3gb download.