Skip to content

Instantly share code, notes, and snippets.

@mortn
Last active May 2, 2022 07:10
Show Gist options
  • Save mortn/24a63f38840c56f8a3b9711acb317f4d to your computer and use it in GitHub Desktop.
Save mortn/24a63f38840c56f8a3b9711acb317f4d to your computer and use it in GitHub Desktop.
dd write iso to usb with progress also on high mem system
sudo dd if=debian-live-11.3.0-amd64-gnome.iso of=/dev/sda bs=4M oflag=direct status=progress && sync
@mortn
Copy link
Author

mortn commented May 2, 2022

Important part is oflag=direct that skips system buffering. Otherwise if is just loaded into memory which causes dd to not show progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment