Revision 7 as of 2020-04-17 12:56:10

Clear message

Return to the main FromUSBStick page


Prerequisites

To create a USB installation device, you will need:

  • 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.

  • Check with md5sum (or another checksum tool) that the download was good.

Notes about speed

The most common USB ports and USB flash drives work according to the USB 2 standard. Booting from USB 2 from a live drive is faster than from a corresponding CD/DVD disk. Standard USB 2 flash drives have rather slow flash hardware, with read and write speed much slower than the transfer speed of USB 2, so it is worth checking if the speed is specified.

USB 1.1 is also possible to use, but it is very slow, slower than a corresponding CD/DVD disk.

Hardware according to the USB 3 standard is much faster than USB 2. So if you have a USB 3 port and a USB 3 flash drive, booting and running will be as fast as from an internal drive (SATA or IDE) or an external eSATA drive. And a USB 3 SSD flash drive has much faster flash hardware, and there are USB 3 pendrives with specified high read/write performance. The market changes quickly, so it is worth checking on the internet, which brand and model to select to get the best buy 'today'.

USB 3 flash drives are much faster than USB 2 flash drives also in USB 2 ports, because the flash hardware is not limiting the transfer speed. For the same reason a USB connected HDD is also much faster than a USB 2 flash drive.

USB 2 flash drives are particularly slow when there are many small files to read and write. This makes them very slow when running persistent live systems and 'installed systems' (installed in the normal way, but to a USB drive). Also the lifetime (number of write operations on a memory cell) is much higher with the high quality hardware in USB 3 flash drives. But still, you should use noatime in fstab and use swap only for extreme situations to avoid excessive wear.

A LED (light emitting diode) helps you avoid unplugging the USB flash drive too early (while it is saving data from the buffers in RAM), and decreases the risk of corrupting the file system.

Flash drive tests are described by C.S.Cameron in this link, post #5.

See also the following links

Link to USB 3.0 Flash Drive Speed Tests

Link to USB 2 and USB 3 speed tests for installers

Conclusion

Standard USB 2 flash drives are good for normal live systems. Typically the speed is between 4 and 20 MB/s.

USB 2 flash drives work, but USB 3 drives with specified high read/write performance (or even USB 2 HDDs) are recommended for persistent live systems and 'installed systems'. In the beginning of 2020, it seems that there are no really fast pendrives below 32 GB.

Notes about size

2 GB is enough for a live USB flash drive made from a 'CD size' iso file. But unless you already have a 2 GB drive, you are recommended to get one with at least 4 GB, hence the general recommendation above.

4 GB is enough for 'CD size' iso files as well as many but not all 'DVD size' iso files.

If you want a persistent live system with a decent size casper-rw storage, you need at least 8 GB (4 GB is possible, but might soon run out of space).

If you want an installed system you need at least 16 GB (8 GB is possible with Lubuntu, but might soon run out of space).

In 2020, it seems that there are no really fast pendrives below 32 GB. If you want a fast system, install it into a pendrive that performs well in a test, even if it is 'bigger than necessary'.

Notes about bootability

Most but not all USB pendrives are reliable for booting, even many of the slower ones, and they are much cheaper, and should be OK particularly for regular read-only live drives (without persistence).

Some computer hardware and some operating systems have issues with certain ports. And some USB pendrives just have issues also. Some of them cannot be used for booting. They are made to be mass storage devices, and have not exactly the same electronics and firmware. Some USB pendrives and computers 'do not like each other'. The pendrive might boot another computer, and the computer might boot from another pendrive (everything else being the same).

This is a link to test by Pendrivelinux including bootablility of USB flash drives. This test was made a few years ago. The cheap and slow Sandisk Cruzer Blade, 4GB, can be added to the list of reliable pendrives for booting. I have used it extensively for years and it has failed only once (chainloading from Plop in a very old computer). This link shows a bootability test in January 2014.

Some pendrives that did not work are shown in this link. This user is not the only one who likes 32GB Sandisk.

The flash hardware

Useful links:

The following link describes various hardware problems and what can be done to repair a USB stick/pendrive/flash drive


Return to the main FromUSBStick page