Skip to content

Instantly share code, notes, and snippets.

@miguelmota
miguelmota / bootable_usb.sh
Last active January 24, 2025 00:13
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