- Introduction
- Prerequisites
- Dummy headlines
- How to Create a Bootable Linux USB Flash Drive?
- Create a Bootable Linux USB with Etcher (Linux, Windows, macOS)
- Create a Bootable Linux USB with dd (Linux, macOS)
- dd for windows
- Create a Bootable Linux USB with Rufus (Windows)
- Create a Bootable Linux USB with EtchDroid (Android)
- About the author
- David Morelo
- Create a bootable USB stick on Ubuntu
- 2. Requirements
- 3. Launch Startup Disk Creator
- 4. ISO and USB selection
- 5. Confirm USB device
- 6. Installation complete
- Finding help
Introduction
Ubuntu can be installed from a USB flash drive. This may be necessary for most new portable computers without DVD drives and is handy for others because a USB flash drive is so convenient. Also, you can configure Ubuntu on the USB flash drive to save changes you make, unlike a read-only CD/DVD disk.
Booting from a USB flash drive created with usb-creator alias Startup Disk Creator and mkusb will behave just as if you had booted from the install CD. It will show the language selection and then the install menu, from which you can install Ubuntu onto the computer’s hard drive or launch the LiveCD environment. Other utilities, e.g. UNetbootin, may create slightly different boot drives or if on UEFI might not work at all with Debian iso files due to a bug
Note: This article uses the term «USB flash drive» alongside USB stick, USB drive, USB device, USB pendrive and thumb drive.
Prerequisites
- a 4 GB USB flash device/drive/stick. If the iso file is smaller than 2 GB, it is possible to use a 2 GB USB device, at least with some of the methods. Files on this USB device will be erased, so backup the files you want to keep before making the device bootable. Some of the tools require that this USB device is properly formatted and mounted while other tools will overwrite whatever is on the target device. Please follow the instructions for each tool.
- an Ubuntu flavour ISO file downloaded from an official web page, ubuntu.com/download or http://releases.ubuntu.com, stored in your running computer (for example in the directory Downloads in the internal drive, not in the USB flash drive that you want to make into a USB boot drive).
- Check with md5sum (or another checksum tool) that the download was good. In Linux there is the tool ‘md5sum’. In Windows you can do it with Rufus: click on the circle with a tick mark (more about Rufus here.)
Dummy headlines
After a major remake of this help page the following headlines are kept here because they may be linked to from other web sites. Several other headlines further down in the page are also kept for this reason.
How to Create a Bootable Linux USB Flash Drive?
One great thing about Linux is that you can try it out without installing it on your hard drive. Most Linux distributions provide disk images (ISO files) that contain everything you need to boot into a live environment and, optionally, begin installation.
But how do you transfer a downloaded disk image to a USB flash drive? In this article, we provide three solutions to help you create a bootable Linux USB flash drive on Linux, Windows, macOS, and even Android.
Create a Bootable Linux USB with Etcher (Linux, Windows, macOS)
Written in Electron, Etcher is a cross-platform open source utility for flashing disk images to USB drives and memory cards. It runs on Windows, macOS, and Linux and provides an approachable graphical user interface that reduces the process of creating a bootable Linux USB to just three simple steps.
Unlike other similar software tools, Etcher prevents users from accidentally wiping their entire hard drives, which is something you’ll definitely appreciate if you’ve never created a bootable USB before and understandably feel anxious about the process.
To create a bootable Linux USB with Etcher:
1. Download Etcher from its official website.
3. Select the ISO file you want to flash to your USB drive.
4. Specify the target USB drive if the correct drive is not selected already.
5. Click the Flash! button and wait for the process to finish.
Create a Bootable Linux USB with dd (Linux, macOS)
dd is a command-line utility for Unix-like operating systems whose primary purpose is to read/write data from/to device files, such as USB flash drives. Because dd is bundled in GNU coreutils, you can find it on virtually all Linux distributions, as well as on macOS.
To create a bootable Linux USB with dd:
- Open your favorite terminal emulator.
- Issue the following command (replace /dev/sdx with your drive and path/to/ubuntu.iso with the actual path to the ISO file you want to flash):
The version of dd included in GNU coreutils doesn’t provide any progress indication. If you’d like some reassurance that the transfer is progressing as it should, you can use the following command (replace dd-pid with the process-id of dd, which you can find using htop):
dd for windows
There’s actually a version of dd for Windows that provides all the functionality you need to transfer an ISO file to a USB flash drive. To install it:
- Download the latest version from its official website.
- Extract the downloaded archive to a new folder on your hard drive.
- Open Command Prompt and navigate to the folder with dd for Windows.
- Use dd for Windows just like you would the version included in GNU coreutils.
Unfortunately, dd for Windows was last updated in 2010, and many users have reported issues when using the utility in Windows 10. Considering that dd for Windows doesn’t even support data conversion, such as byte order swapping and conversion to and from the ASCII and EBCDIC text encodings, you’re probably better off using either Etcher or Rufus, which we describe in the next chapter.
Create a Bootable Linux USB with Rufus (Windows)
Before the release of Etcher in 2016, Rufus was the best way to create a bootable Linux USB in Windows. This bootable USB flash drive creator is much faster than all of its Windows competitors, and it can create live USB drives for systems with both BIOS and UEFI. Rufus has been translated into several dozen languages, and it’s compatible with Windows 7 and newer, both 32- and 64-bit.
To create a bootable Linux USB with Rufus:
- Download Rufus from its official website.
- You can choose between an installer and a portable version.
- Install it if you’ve downloaded the installer. Otherwise, you can just launch it.
- Select the target USB device.
- Click the SELECT button next to the boot selection dropdown menu and specify the ISO file you want to flash.
- Choose the correct partition scheme for your system.
- Click the START button.
- Wait for Rufus to finish.
In addition to creating live Linux USB flash drives, Rufus can also flash Windows disk images.
Create a Bootable Linux USB with EtchDroid (Android)
The last utility we want to describe is called EtchDroid, and its purpose is to write OS images to USB drives on Android smartphones and tablets.
Why would you want to use your Android device to create a bootable Linux USB? Well, imagine you find yourself in the middle of nowhere, and your laptop stops working after a botched system update. Without another computer to use, your only option on how to create a bootable Linux USB to fix the issue is your Android device, and that’s where EtchDroid comes in.
To create a bootable Linux USB with EtchDroid:
- Download EtchDroid from Google Play or F-Droid.
- Connect a USB flash drive to your Android device using a USB OTG adapter.
- Launch EtchDroid and select the Write raw image or ISO option.
- Select your ISO image.
- Select the USB flash drive.
- Tap Write to write the image to the USB flash drive.
EtchDroid has been tested with Ubuntu and its derivatives, Debian, Fedora, Arch Linux, and Raspberry PI SD card images. It doesn’t work with Windows, macOS, and old GNU/Linux distros. Support for Windows installation ISO files is on the developer’s to-do list.
About the author
David Morelo
David Morelo is a professional content writer in the technology niche, covering everything from consumer products to emerging technologies and their cross-industry application
Create a bootable USB stick on Ubuntu
Creating a bootable Ubuntu USB stick is very simple, especially from Ubuntu itself, and we’re going to cover the process in the next few steps.
Alternatively, we also have tutorials to help you create a bootable USB stick from both Microsoft Windows and Apple macOS.
2. Requirements
- A 4GB or larger USB stick/flash drive
- Ubuntu Desktop 14.04 or later installed
- An Ubuntu ISO file. See Get Ubuntu for download links
3. Launch Startup Disk Creator
We’re going to use an application called ‘Startup Disk Creator’ to write the ISO image to your USB stick. This is installed by default on Ubuntu, and can be launched as follows:
- Insert your USB stick (select ‘Do nothing’ if prompted by Ubuntu)
- On Ubuntu 18.04 and later, use the bottom left icon to open ‘Show Applications’
- In older versions of Ubuntu, use the top left icon to open the dash
- Use the search field to look for Startup Disk Creator
- Select Startup Disk Creator from the results to launch the application
4. ISO and USB selection
When launched, Startup Disk Creator will look for the ISO files in your Downloads folder, as well as any attached USB storage it can write to.
It’s likely that both your Ubuntu ISO and the correct USB device will have been detected and set as ‘Source disc image’ and ‘Disk to use’ in the application window. If not, use the ‘Other’ button to locate your ISO file and select the exact USB device you want to use from the list of devices.
Click Make Startup Disk to start the process.
5. Confirm USB device
Before making any permanent changes, you will be asked to confirm the USB device you’ve chosen is correct. This is important because any data currently stored on this device will be destroyed.
After confirming, the write process will start and a progress bar appears.
6. Installation complete
That’s it! You now have Ubuntu on a USB stick, bootable and ready to go.
If you want to install Ubuntu, take a look at our install Ubuntu desktop tutorial.
Finding help
If you get stuck, help is always at hand: