Skip to content

Instantly share code, notes, and snippets.

@nhthai2005
Last active May 1, 2022 08:54
Show Gist options
  • Save nhthai2005/2a61d893a49f0ac61295298713a421bb to your computer and use it in GitHub Desktop.
Save nhthai2005/2a61d893a49f0ac61295298713a421bb to your computer and use it in GitHub Desktop.
How to create a bootable Ubuntu USB flash drive from terminal

How to create a bootable Ubuntu USB flash drive from terminal

List devices

sudo fdisk -l

Create a bootable Ubuntu flash drive with dd method

sudo dd bs=4M if=ubuntu-22.04-desktop-amd64.iso of=/dev/sda status=progress oflag=sync

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