dd

dd is a utility for copying data. It's been around longer than I've been alive and has its own Wikipedia page.

Writing a Disk Image

xzcat os-image.img.xz | dd of=/dev/sdX bs=4M conv=fsync status=progress