Making a linux bootable disk

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.

Читайте также:  Astra 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.

Источник

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.

Читайте также:  Exe для linux mint

Laptop Ubuntu desktop

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

Download an Ubuntu ISO

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:

  1. Insert your USB stick (select ‘Do nothing’ if prompted by Ubuntu)
  2. On Ubuntu 18.04 and later, use the bottom left icon to open ‘Show Applications’
  3. In older versions of Ubuntu, use the top left icon to open the dash
  4. Use the search field to look for Startup Disk Creator
  5. Select Startup Disk Creator from the results to launch the application

Search for Startup Disk Creator

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.

Make USB device

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.

USB write progress

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.

USB write complete

Finding help

If you get stuck, help is always at hand:

Источник

Create a bootable USB stick with Rufus on Windows

This tutorial will show you how to create a bootable USB stick on Microsoft Windows using Rufus.

For most users we recommend balenaEtcher instead of Rufus which is simpler to use and also available on MacOS and Ubuntu. Instructions are now included in the primary Install Ubuntu Desktop tutorial.

Creating a bootable Ubuntu USB stick from Microsoft Windows is very simple 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 Ubuntu and Apple macOS.

image

2. Requirements

  • A 4GB or larger USB stick/flash drive
  • Microsoft Windows XP or later
  • Rufus, a free and open source USB stick writing tool
  • An Ubuntu ISO file. See Get Ubuntu for download links

ubuntu-download-18_04_1

Take note of where your browser saves downloads: this is normally a directory called ‘Downloads’ on your Windows PC. Don’t download the ISO image directly to the USB stick! If using Windows XP or Vista, download version 2.18 of Rufus.

Читайте также:  Удалить старую версию linux

3. USB selection

Perform the following to configure your USB device in Rufus:

  1. Launch Rufus
  2. Insert your USB stick
  3. Rufus will update to set the device within the Device field
  4. If the Device selected is incorrect (perhaps you have multiple USB storage devices), select the correct one from the device field’s drop-down menu

ubuntu-rufus-00

You can avoid the hassle of selecting from a list of USB devices by ensuring no other devices are connected.

4. Select the Ubuntu ISO file

To select the Ubuntu ISO file you downloaded previously, click the SELECT to the right of “Boot selection”. If this is the only ISO file present in the Downloads folder you will only see one file listed.

Select the appropriate ISO file and click on Open.

ubuntu-rufus-01

5. Write the ISO

The Volume label will be updated to reflect the ISO selected.

Leave all other parameters with their default values and click START to initiate the write process.

ubuntu-rufus-02

6. Additional downloads

You may be alerted that Rufus requires additional files to complete writing the ISO. If this dialog box appears, select Yes to continue.

windows-rufus3-additional-downloads

7. Write warnings

You will then be alerted that Rufus has detected that the Ubuntu ISO is an ISOHybrid image. This means the same image file can be used as the source for both a DVD and a USB stick without requiring conversion.

Keep Write in ISO Image mode selected and click on OK to continue.

ubuntu-rufus-03

Rufus will also warn you that all data on your selected USB device is about to be destroyed. This is a good moment to double check you’ve selected the correct device before clicking OK when you’re confident you have.

ubuntu-rufus-04

If your USB stick contains multiple partitions Rufus will warn you in a separate pane that these will also be destroyed.

8. Writing the ISO

The ISO will now be written to your USB stick, and the progress bar in Rufus will give you some indication of where you are in the process. With a reasonably modern machine, this should take around 10 minutes. Total elapsed time is shown in the lower right corner of the Rufus window.

ubuntu-rufus-05

9. Installation complete

When Rufus has finished writing the USB device, the Status bar will be filled green and the word READY will appear in the center. Select CLOSE to complete the write process.

ubuntu-rufus-06

Congratulations! You now have Ubuntu on a USB stick, bootable and ready to go.

To use it you need to insert the stick into your target PC or laptop and reboot the device. It should recognise the installation media automatically during startup but you may need to hold down a specific key (usually F12) to bring up the boot menu and choose to boot from USB.

For a full walkthrough of installing Ubuntu, take a look at our install Ubuntu desktop tutorial.

Finding help

If you get stuck, help is always at hand:

Источник

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