Skip to content

Instantly share code, notes, and snippets.

@Apollinaire
Last active March 15, 2023 15:36
Show Gist options
  • Save Apollinaire/dbc897cd46212461f072ad1a1d08057c to your computer and use it in GitHub Desktop.
Save Apollinaire/dbc897cd46212461f072ad1a1d08057c to your computer and use it in GitHub Desktop.
Burn iso to usb on linux

1.insert your usb key

2.locate your usb key

sudo fdisk -l

probably /dev/sd*, * being a or b. The device is /dev/sd*, remove the number at the end if there is one.

3.burn the iso using dd

sudo dd bs=4M if=path/to/iso of=/dev/sda status=progress oflag=sync

Optional: checksum before burning the iso

Download a SHA256SUMS file or create one with the following format : [checksum] *[iso file name] and add it to the same folder where the iso file is located then run the following command:

sha256sum -c SHA256SUMS 2>&1 | grep OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment