Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active June 24, 2024 00:49
Show Gist options
  • Save miguelmota/1a65cda6712fa98ab520059576feada3 to your computer and use it in GitHub Desktop.
Save miguelmota/1a65cda6712fa98ab520059576feada3 to your computer and use it in GitHub Desktop.
Linux copy img.xz to usb drive (bootable drive) using xzcat and dd
lsblk
sudo umount /dev/sd<?><?>
xzcat ~/Downloads/linux.img.xz | sudo dd of=/dev/sd<?> conv=fdatasync status=progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment