Created
February 23, 2022 12:00
-
-
Save xiongnemo/afd7e973e9e83608255a174124622ffc to your computer and use it in GitHub Desktop.
Burn ISO on Linux (https://askubuntu.com/questions/372607/how-to-create-a-bootable-ubuntu-usb-flash-drive-from-terminal)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# $1: file (/tmp/ubuntu-20.04.3-desktop-amd64.iso) | |
# $2: device (/dev/sda) | |
sudo dd bs=4M if=$1 of=$2 conv=fdatasync status=progress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment