12-06-2020, 01:07 AM
(This post was last modified: 12-06-2020, 01:12 AM by nightranger73.)
Code:
unxz imagefile.img.xz
sudo dd if=imagefile.img of=/dev/mmcblk1 bs=1M status=progress conv=fsync
you can skip the first command if you already have an uncompressed img file
unxz command takes a bit of time and gives you no output so just wait for it to end.
Always double check your SD is mmcblk1 using lsblk since the mmc number may change using other distro