Bootable disc with linux

3 Ways to Create Bootable Ubuntu USB Startup Disk

Creating a bootable USB drive is one of the most preferred ways of testing and installing a Linux operating system on a PC. This is so because most modern PCs don’t come with a DVD drive anymore. Further, USB drives are easily portable and less delicate than a CD / DVD.

Many graphical tools abound that can help you create a bootable USB drive. One of the most widely used tools is Rufus, a simple yet very effective tool. Sadly, it’s only available for Windows systems.

Thankfully, Ubuntu ships with its own tool called Startup Disk Creator. The tool is easy to use and allows you to create a bootable Ubuntu USB disk in no time.

With a bootable Ubuntu USB drive you can perform the following operations:

  1. Install Ubuntu on your PC.
  2. Try out Ubuntu desktop without installing it on your hard drive.
  3. Boot into Ubuntu on another PC and run it.
  4. Perform diagnostic operations such as repairing or fixing a broken configuration.

With that in mind, let’s see how you can create a bootable Ubuntu USB startup disk.

Requirements

For this exercise, ensure that you have the following prerequisites before you get started:

  • A USB drive – Minimum 4GB.
  • Ubuntu ISO image ( We will use Ubuntu 20.04 ISO ).
  • A stable internet connection for downloading the Ubuntu ISO image – If you don’t have one.

In this guide, we will explore three methods that you can use to create a bootable Ubuntu USB startup disk.

On this page:

Let’s shift gears and see how you can create a startup Ubuntu.

Creating Ubuntu USB Startup Disk Using Graphic Tool

The Startup disk creator is Ubuntu’s native tool that comes preinstalled in every modern Ubuntu release. It allows a user to create a Live USB drive from an ISO image is a simple yet fast and effective way.

To launch Startup Disk creator, click on ‘Activities’ at the top left corner of your desktop and search for the tool in the application manager as shown. Next, click on the ‘Startup Disk Creator’ option to launch it.

Launch Startup Disk Creator

Once launched, you will get a window as shown. The upper section displays the path of the ISO image, the version of the ISO file and its size. If all options are okay, proceed and hit the ‘Make Startup Disk’ option to commence the process of creating the bootable USB drive.

Читайте также:  Узнать текущий драйвер linux

Create Bootable Ubuntu USB Disk

Thereafter, you will get a pop-up notification asking you whether to proceed with the creation or abort. Click on the ‘Yes’ option to initialize the creation of the bootable drive. Provide your password to authenticate and start the process.

Initialize USB Bootable Drive Creation

The Startup Disk Creator tool will begin writing the disk image onto the USB drive. This should only a few minutes to be completed.

Writing Disk Image to USB Drive

Once complete, you will get the notification pop-up below indicating that all went well. To try out Ubuntu, click on the ‘Test Disk’ button. If you want to go ahead and start using the bootable drive, simply click ‘Quit’.

USB Disk Creation Complete

Creating Ubuntu USB Startup Disk Using DDrescue Command

The ddrescue tool is a popular data recovery tool that you can use to recover data from failed storage devices such as hard drives, pen drives, etc. Additionally, you can use the ddrescue tool to convert an ISO image to a startup USB drive.

To install ddrescue on Ubuntu / Debian systems execute the command.

$ sudo apt install gddrescue

NOTE: Repositories refer to it as gddrescue. However when invoking it on the terminal use ddrescue.

Next, we need to verify the block device volume of the USB drive. To achieve this, use the lsblk command as shown below:

The output below confirms that our USB drive is denoted by /dev/sdb .

Verify USB Block Device Volume

Now use the syntax below to create a bootable USB stick.

$ sudo ddrescue path/to/.iso /dev/sdx --force -D

For example to create a Ubuntu 20.04 startup disk we executed the command below.

$ sudo ddrescue ubuntu-20.04-beta-desktop-amd64.iso /dev/sdb --force -D

The process takes a few minutes and your bootable USB drive will be ready in no time.

Create Bootable USB Disk Using ddrescue Command

Creating Ubuntu USB Startup Disk Using dd Command

Another simple and easy to use command-line tool you can use to create a startup disk is the dd command. To use the tool, plug in your USB drive and identify the device volume using the lsblk command.

Next, unmount the USB drive using the command below:

Once the USB drive is unmounted, run the following command:

$ sudo dd if=ubuntu-20.04-beta-desktop-amd64.iso of=/dev/sdb bs=4M

Where Ubuntu-20.04-beta-desktop-amd64.iso is the ISO file and bs=4M is an optional argument to help accelerate the process of creating the bootable drive.

Create Bootable USB Disk Using dd Command

You can now eject your Live USB drive and plug it to any PC and either try out or install Ubuntu.

This brings us to the end of this topic. We hope you found this guide useful and that you can now comfortably create a bootable USB startup disk using all the methods explained herein.

Читайте также:  Посмотреть все файлы линукс

Источник

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:

  1. Open your favorite terminal emulator.
  2. 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:

  1. Download the latest version from its official website.
  2. Extract the downloaded archive to a new folder on your hard drive.
  3. Open Command Prompt and navigate to the folder with dd for Windows.
  4. 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.

Читайте также:  How to start run file in linux

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:

  1. Download Rufus from its official website.
    • You can choose between an installer and a portable version.
  2. Install it if you’ve downloaded the installer. Otherwise, you can just launch it.
  3. Select the target USB device.
  4. Click the SELECT button next to the boot selection dropdown menu and specify the ISO file you want to flash.
  5. Choose the correct partition scheme for your system.
  6. Click the START button.
  7. 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:

  1. Download EtchDroid from Google Play or F-Droid.
  2. Connect a USB flash drive to your Android device using a USB OTG adapter.
  3. Launch EtchDroid and select the Write raw image or ISO option.
  4. Select your ISO image.
  5. Select the USB flash drive.
  6. 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

Источник

Оцените статью
Adblock
detector