Skip to content

Instantly share code, notes, and snippets.

@bast
Last active January 10, 2020 09:50
Show Gist options
  • Save bast/93a5e999ab2ff7228f2d7fb14dcc4f67 to your computer and use it in GitHub Desktop.
Save bast/93a5e999ab2ff7228f2d7fb14dcc4f67 to your computer and use it in GitHub Desktop.
Create bootable USB from command line.
# adapted from https://web.archive.org/web/20190522110737/https://antergos.com/wiki/uncategorized/create-a-working-live-usb/
# first find out the device of your usb
sudo fdisk -l
# now that you know the letter, replace the "X" below
# typically "X" is replaced by "b" or "c" but it can be different on your system
# make sure it's not the device of your hard drive, otherwise you wipe it
sudo dd bs=4M if=/path/to/image.iso of=/dev/sdX status=progress
sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment