Creating a bootable Ubuntu Server flash drive (Linux)

On Linux systems, we can use either ddrescue or dd to create our bootable media. In the case of ddrescue, you'll first need to install the package on your system. If your distribution is Debian-based, you should be able to install it with the following command:

# apt-get install gddrescue

If your distribution is not Debian-based, use your distribution's package manager to install gddrescue. If this package is not available to you in your chosen platform, you can always fall back to the dd command, which I will also give you in this section.

With the gddrescue package installed, we can move on. Make sure the flash drive is inserted into your PC. Next, we'll need to run the following command in ...

Get Mastering Ubuntu Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.