3 ms·
dd if=<image> of=<output device> bs=<block size> I use this whenever I need to bake an image to a USB stick.
by all2 4y ago
dd if=<image> of=<output device> bs=<block size>
I use this whenever I need to bake an image to a USB stick.
- throwaway362651 4y agoAlways append status=progress and conv=fdatasync Makes sure that the buffer is flushed to disk before finishing.
- hn92726819 4y agoOf course. That's the right way to do it. I was pointing out that what was written isn't right in any situation and the smallest change to make it make sense would be adding <cat> in the middle Turns out my answer was wrong too :D. Should have been <image.img cat >/dev/sda. Oh well