How to create a bootable USB Drive.

Creating a Bootable USB Drive

On Ubuntu and Ubuntu MATE

GNOME Disks is pre-installed on Ubuntu 16.04 and newer. Use the Restore Disk Image… option, which natively supports XZ compressed images. It can be used for both USB drives and microSDHC cards.

If Disks is not present on your system, you can install it from the terminal:

sudo apt-get install gnome-disk-utility

On GNU/Linux

The image can be directly written to a microSDHC or to a USB drive using a utility like dd, but we prefer ddrescue (from the gddrescue package).

For example, for Debian-based systems:

sudo apt-get install gddrescue xz-utils
unxz ubuntu-mate-15.10.3-desktop-armhf-raspberry-pi-2.img.xz
sudo ddrescue -D --force ubuntu-mate-15.10.3-desktop-armhf-raspberry-pi-2.img /dev/sdx

Replace /dev/sdX with your actual device. Use the lsblk command to check.

On Windows

If you want to make a bootable USB using Windows we recommend:

  • Etcher to write the image to a USB drive.

If you want to make a microSDHC using Windows we recommend:

On Mac OS X

Official instructions are provided by Ubuntu.