How to make a bootable Ubuntu USB?- Stack All Flow
Tags: ubuntu, liveusb
Published: 2021-11-27 06:23:07

---
title: How to make a bootable Ubuntu USB?- Stack All Flow
published: true
date: 2021-11-23 16:01:43 UTC
tags: Ubuntu,liveusb
canonical_url: https://stackallflow.com/ubuntu/how-to-make-a-bootable-ubuntu-usb/
---

live-usb

How do I make an Bootable Ubuntu USB containing the the latest version of Ubuntu?

For completeness, how would I be able to do this on Ubuntu, Windows, OS X or another Linux distro?

#### Accepted Answer

This flowchart shows how to make a bootable USB for installing Ubuntu and troubleshoot problems booting Ubuntu from it.

[![flowchart](https://i.stack.imgur.com/n6nXb.png)](https://i.stack.imgur.com/n6nXb.png)

### Links

- [How to create a bootable USB stick on Windows](https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows)
- [Ubuntu on 32-bit UEFI-based tablet PC](https://askubuntu.com/questions/775498/ubuntu-on-32bit-uefionly-based-tablet-pc)
- [Need help regarding `dd` command on Ubuntu app for Windows 10](https://askubuntu.com/q/1188090/)

### How to make an Ubuntu USB on Ubuntu using Startup Disk Creator

Ubuntu has a built-in application for creating a bootable Ubuntu live USB for installing Ubuntu called _Startup Disk Creator_. Search the Dash for _Startup Disk Creator_ and click the Startup Disk Creator icon to open the **Make Startup Disk** window.

The USB flash drive that you use with Startup Disk Creator should be 2GB or larger, and for Ubuntu 18.04 and later it should be 4GB or larger. Startup Disk Creator will automatically format your USB flash drive to FAT32 and make it bootable. If you have only one USB flash drive plugged in to your computer, Startup Disk Creator will select it automatically. Be **very careful** to select the USB flash drive in the Make Startup Disk window in order to avoid overwriting the partition which Ubuntu is installed on, which may make Ubuntu unbootable. In the screenshot below you can see how the USB flash drive Device is identified by its model name, the same model name that appears under the **Drive** heading after _Model:_ in the Disks (disk utility) application.

[![Startup Disk Creator](https://i.stack.imgur.com/fGHz3.png)](https://i.stack.imgur.com/fGHz3.png)  
<sup><b>Startup Disk Creator in Ubuntu 16.04</b></sup>

You can also move the _Stored in reserved extra space_ slider back and forth to create some reserved extra space for persistent file storage across reboots. In Ubuntu 16.04 and later Startup Disk Creator no longer has the persistent file storage option.

### How to make an Ubuntu Minimal USB using dd

While the minimal iso image is handy, it isn’t useful for installing on UEFI-based systems that you want to run in UEFI mode. The mini iso lacks the proper files for booting the computer in UEFI mode. Thus the computer will boot in BIOS compatibility mode, and the installation will be in BIOS mode.

1. Download the Ubuntu Mini CD iso file for Ubuntu 18.04 and earlier from the link on the [Ubuntu Documentation Installation Minimal CD](https://help.ubuntu.com/community/Installation/MinimalCD) webpage. Download the Ubuntu Mini CD iso file for Ubuntu 20.04 from [http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/mini.iso](http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/mini.iso). Download the file called mini.iso to your Downloads folder. You can download the mini.iso file to wherever on your computer that you want, but download it to your Downloads folder so that you can easily run the commands in the following steps without changing anything.
2. Verify the md5 checksum of the Ubuntu mini CD iso file that you downloaded by running these commands:
```
cd ~/Downloads/
md5sum 'mini.iso'

```

If you are using Windows Subsystem for Linux download the Microsoft File Checksum Integrity Verifier tool from the official Microsoft Download Center. The Microsoft File Checksum Integrity Verifier tool is a command line utility that computes MD5 or SHA1 cryptographic hashes for files.

3. Check that the results of the command match the MD5 checksum of the mini.iso file on the [Ubuntu Documentation Installation Minimal CD](https://help.ubuntu.com/community/Installation/MinimalCD) webpage.
4. Get a USB flash drive, 1GB or larger. Delete all the files from the USB flash drive. Mount the flash drive using the _Disks_ disk utility.
5. Check in the _Disks_ disk utility to find out the device name of your USB flash drive. This is **very important** because if you use the wrong device name in step 6, you will overwrite your whole operating system instead of writing to the USB flash drive. So check the USB flash drive device name twice. It should be something like `/dev/sd*` where instead of the \* character there is a lower case letter like a, b, c, etc. In the following step I am assuming that the device name is `/dev/sdc`, but the device name of your USB drive could be something else like `/dev/sda` or `/dev/sdb` so check the device name of your USB drive twice and make sure that you get it right in step 6!
6. Open the terminal or Windows Subsystem for Linux version 2 and run the following commands:
```
cd ~/Downloads/  
sudo -i  
dd if='mini.iso' of=/dev/sdc bs=4096 ## make sure that the device name of your USB drive is correct!

```

The `dd if='mini.iso' of=/dev/sdc bs=4096` command should take only a few seconds to complete on most computers because the mini.iso is a small file, less than 60MB. The result of running this command will be a bootable Ubuntu mini USB.

7. Boot the computer from the Ubuntu mini live USB. The Ubuntu mini live USB should boot successfully and show a menu screen.
8. If you select the Install option (the complete install, not the cli install) from the menu screen in Step 7, then you can select other options during the Ubuntu installation process to download all the packages that you need to perform a complete Ubuntu installation. Select the _Ubuntu desktop_ package collection from the list of predefined collections of software in the Software selection screen in the Ubuntu mini CD installer. When you restart the system at the end of the installation, you will have a working Ubuntu desktop with the default desktop environment.

[![enter image description here](https://i.stack.imgur.com/TDcz0.png)](https://i.stack.imgur.com/TDcz0.png)

### How to create a bootable USB stick on OS X/macOS

- [How do I get my Mac to boot from an Ubuntu USB key?](https://askubuntu.com/questions/28495/how-do-i-get-my-mac-to-boot-from-an-ubuntu-usb-key/655232#655232)

The post [How to make a bootable Ubuntu USB?](https://stackallflow.com/ubuntu/how-to-make-a-bootable-ubuntu-usb/) appeared first on [Stack All Flow](https://stackallflow.com).