Preparing a Bootable USB Drive

The following procedures describe how to Flash an OS ISO/IMG file into an empty USB drive to make it into an installation medium.

Prerequisites

  • Download the prebuilt bootable image onto the working directory of your development host by clicking here.
  • For Windows, please download Rufus / Win32DiskImager to flash the image to the USB drive. (Rufus for .iso files and Win32DiskImager for .wic files.)
  • For Linux, please use dd command.

Note: The memory capacity of the USB should be 16 GB or larger, and all pre-existing files on the USB drive will be erased.


Windows Host

Flashing using Rufus (for Ubuntu/Windows/Debian)

  1. Insert an empty USB drive into your development host and execute rufus.exe as exemplified below. It shall automatically detect your storage drives.

  2. Click SELECT and browse for and select the .iso file you’ve downloaded. Then click START and wait for the process to be finished.

rufus_2

Flashing using Win32DiskImager (for Yocto)

  1. Insert an empty USB drive into the development host and execute the Win32DiskImager tool. The USB drive shall be automatically detected.
  2. On the Win32DiskImager tool, click the File Explorer icon to browse for and select the .wic file you’ve downloaded. Then click Write and wait for the process to be finished.
rufus_2

Linux Host

  1. Download the prebuilt bootable OS to the working directory of your development host.

  2. Insert an empty USB drive and enter the following command to flash the OS to the USB drive.

    Warning: Make sure to identify and use the proper USB drive (/dev/sdb or /dev/sdc), such as by using “gparted.” Data loss may occur if you write to the wrong device, and in worst case scenario you may kill your development host’s OS.

    $ sudo dd if=[your image].img of=/dev/sd[x]

    After dd has completed, enter the following command to finish:

$ sync

Note: You can also flash Yocto and Android images using a Linux host, but make sure to type the correct image format using dd command.