dd
dd, a.k.a. disk destroyer.
flash an external device (e.g. flash drive or SD-card)
Double-check device names! Writing an image to the wrong device will result in disaster and data loss.
- Insert external device.
- Run
lsblkto identify the device. If you can't tell from the device sizes, compare the output oflsblkwhen the device is not plugged in to when it is. -
Unmount the external device you want to flash to with
sudo umount /dev/<mounted_partition> -
Run
sudo dd if=/path/to/image.img of=/dev/<device_name> bs=4M conv=fsync status=progress -
Remove external device once
ddis finished.