How to Create a USB flash drive for Ubuntu Installation

Source: Internet
Author: User

How to Create a USB flash drive for Ubuntu Installation

Many of my friends know that Ubuntu is a very good Linux release. It is also very easy to download Ubuntu from the official website. But after downloading ISO, how can we install it? Of course, in our early years, we installed the software by recording the DVD. Now, as the optical drive is gradually eliminated by the market, Ubuntu keeps pace with the times like Windows, you can also install the USB flash drive on Ubuntu.

The following describes how to install a USB flash drive in Ubuntu on Windows, Mac, or even Linux.

Ubuntu version Selection

First of all, we need to know that Ubuntu has the LTS version and the "cutting-edge technology version", both of which can be used as daily desktop terminals, but we usually think that the LTS version is more stable, in addition, you can obtain technical support for five years from the date of release. The so-called "cutting-edge technology edition" released between LTS versions only has a nine-month support period. After expiration, users must upgrade to a new version.

Then there is a 32-bit and 64-bit version selection problem. I personally suggest you install the most popular 64-bit version. Of course, if your computer is too old or cannot be supported, install 32-bit. In the past, there was a popular saying that when the memory is smaller than 3 GB, do not select the 64-bit version for installation. In fact, this can be ignored, and 64-bit can make full use of CPU support, even if your memory is less than 3 GB.

Regardless of the version you choose, you can download the ISO installation image from the official website:

Download official Ubuntu Images

Create a USB flash drive for Ubuntu Installation

Once Ubuntu ISO is downloaded and installed, We need to write it into the USB flash drive. In fact, you cannot install a USB flash drive on Ubuntu in any operating system. Next we will introduce it separately.

Create a USB flash drive for Ubuntu installation in Windows

Universal USB Installer is a popular and commonly used tool for Linux installation of USB flash drives in Windows. It is a green version that does not need to be installed. It supports mainstream Linux releases, ubuntu is also supported.

For download, see

Open the Universal USB Installer, and select download to Ubuntu image as shown in the following figure, and then specify the drive letter of our current USB flash drive. To ensure that no problem occurs during the operation, we recommend that you select to format the USB flash disk.

Download Universal USB Installer

Make Ubuntu installation USB flash drive on Mac

Installing a USB flash drive on Ubuntu on Mac is tricky for many common users, because we need to use Mac terminal commands. Of course, the advantage is that you do not need to download the tools that are not commonly used to occupy space.

Open the terminal and run the following command:

First browse to the download folder:

  1. Cd ~ /Downloads

Run the following command:

  1. Hdiutil convert-format UDRW-o ubuntu. iso ubuntu-xxxxxx.iso

The last part is the file name of the downloaded Ubuntu image. Please replace it as needed before execution. This command can be used to convert an ISO image into a Mac image.

Run the following command to delete the. dmg extension added to the image file for Mac:

  1. Mv ubuntu. iso. dmg ubuntu. iso

Next, list the current drive:

  1. Diskutil list

Then insert the USB flash disk and run the preceding command again:

  1. Diskutil list

Find the drive mount point that is not available before, and then execute:

  1. Diskutil unmountDisk/dev/diskN

N is the mount point number of the USB flash disk found in the previous command.

Run the following command to write the Ubuntu image file to the USB flash drive:

  1. Sudo dd if =./ubuntu. iso of =/dev/rdiskN bs = 1 m

After the writing is complete, execute the following command to bring up the USB flash drive and make it complete:

  1. Diskutil eject/dev/diskN
Create a USB flash drive for Ubuntu installation in Linux

In Linux, the installation of a USB flash drive for Ubuntu is similar to that for Mac, which is completed by using terminal commands:

First browse to the download folder:

  1. Cd ~ /Downloads

Run the following command to start writing:

  1. Sudo dd if =./ubuntu-iso-name.iso of =/dev/sdX

X indicates the mount point of the USB flash drive. Of course, ubuntu-iso-name indicates the name of the downloaded Ubuntu image. You need to modify it yourself.

After the preparation, run the following command to launch the USB flash drive:

  1. Sudo eject/dev/sdX
Summary

We have introduced three ways to install a USB flash drive in Ubuntu. We believe that you can complete the installation by following the steps. If you have any questions, leave a message. Let's take a look at how to solve the problem.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.