Instructions to create, burn or burn ISO file to a USB drive on Linux


By using a USB Bootable Linux drive, you can run and boot on most computers without any problems. In the following article, Taimienphi.vn will guide you how to create, burn or burn ISO files to a USB drive on Linux.


If traditional solutions before, Linux users can burn, burn ISO files to DVD or CD, but on many computers today are not equipped with DVD drives, CD anymore. By creating a bootable USB drive as an alternative. USB Bootable drives work on most devices, and the installation and run process is also faster.

The following article will guide you how to create, burn or burn ISO files to a USB drive on Linux.

1. How does a USB Bootable Linux drive work?

Like a live CD or DVD, the USB Bootale drive allows users to install and run various Linux distributions without the need for a CD or DVD drive.

However, users cannot copy or extract ISO files to USB drives. To burn, burn the ISO file to a USB drive requires a special process to download the ISO ISO file and create a bootable USB drive.

There are two ways to do this: on some Linux distributions that include a bootable USB drive creation tool, we can use this tool to get that. Alternatively, use the dd command on any Linux distribution. Either way, we first need to have the ISO file of our Linux distribution.

For example, Ubuntu Linux comes with two methods to create a bootable USB drive. The USB Bootable drive provides users with an experience similar to Ubuntu Live DVD, allowing users to try common Unix-like operating systems without having to change computers. After we are ready to install Ubuntu, we can use the USB drive as the installation medium.

Note, we will need the Ubuntu ISO image to create a USB Bootable drive, so first we need to download the version of Ubuntu we will be using.

The USB Bootable drive will boot into an active copy of Ubuntu Linux, but does not save any changes we make. Every time we boot into Ubuntu from this USB drive, we are booting into the new version of Ubuntu. If you want to save your changes and data, you can create a USB Bootable drive with continuous storage, but the process is more complicated.

Just plug the created USB Bootable drive into any computer and boot from the USB device. Depending on which Linux distribution you choose, you may need to disable Secure Boot first.

2. How to create, burn or burn ISO file to a USB drive on Linux

As mentioned above, there are two ways to create a Bootable USB drive on Linux, either using the bootable USB drive creation tool (on some Linux distributions) or using the dd command.

2.1 Use the tool to create a USB Bootable drive

The default Ubuntu installation includes an application called Startup Disk Creator, which we will use to create a Bootable USB drive. If you are using another Linux distribution, you can search for similar utilities. Check your Linux distribution documentation for more information.

Warning: This process will wipe the contents of the destination USB drive. To ensure that no errors occur during the recording of the USB drive, Taimienphi.vn recommends that you remove and remove other USB drives connected to the computer before proceeding.

With Ubuntu requires a USB drive with a capacity of 4 GB or more. If the ISO file you selected is larger, a larger capacity USB drive is required.

Once you have removed and removed the other USB drives connected on the computer, the next step is to launch Startup Disk Creator. To do this, press Super key (Normally Windows key on most keyboards), then type “startup disk”. On the search results list, find and click the Startup Disk Creator icon.

how to burn or burn iso file to usb on linux 2

At this point, the Startup Disk Creator main window will appear. Your USB drive will be highlighted at the bottom of the window.

how to burn or burn iso file to usb on linux 3

Click here Other button. A dialog box will open displaying the file. Here browse to the location of the Ubuntu ISO file that you have downloaded and saved, then click Open button.

how to burn or burn iso files to usb on linux 4

The main window Startup Disk Creator should now look like the following. The ISO image file will be highlighted in the box above and the USB drive marked in the box below.

how to burn or burn iso files to usb on linux 5

Your task is to confirm the ISO image file and the USB drive are correct. Click the “Make Startup Disk” to continue.

A message will appear on the screen saying that the USB drive will be completely wiped. Click here Yes to create a Bootable USB drive.

how to burn or burn iso file to usb on linux 6

At this point the screen will display a progress bar informing you when the process is complete.

how to burn or burn iso file to usb on linux 7

Once completed, the screen will display a message confirming the creation of the USB Bootable drive completed. This may take about 5 minutes or maybe longer.

how to burn or burn iso files to usb on linux 8

Click here Quit button. You can now boot your computer from the USB drive or unplug the USB drive and plug it into another computer to boot from there.

2.2 Create a USB Bootable drive with the dd command

Another way to create a bootable USB drive is to use the dd command.

Warning: If using the dd command to create a bootable USB drive requires you to be very careful to avoid the possible bad situations because this command will not display questions to ask if the user wants to continue or not like the tool. create a USB drive dedicated.

First you need to identify the correct USB device connected on your computer. By unplugging, disconnecting all other USB devices from your computer.

Open a Terminal window and run the following Terminal command:

Lsblk

how to burn or burn iso files to usb on linux 9

The lsblk command will list the connected devices on your computer. Each device will have a separate partition.

The lsblk command output will display the current drives connected on the computer. Here you will see there is an internal hard drive on the computer called sda and there is a partition called sda1.

How to burn or burn iso files to USB on Linux 10

Plug in your USB drive and use the lsblk command again. Now the lsblk command output will be slightly changed, specifically your USB drive will be listed in the output list.

how to burn or burn iso files to usb on linux 11

A new entry will appear in the list called sdb and 2 new partitions on it. In which a partition is called sdb1 is 1 KB in size and other partitions are sdb5, size 14.6 GB.

This is your USB drive. The format code you need to use is the drive letter, not one of the partitions of that drive. In this tutorial, the USB drive is named sdb.

The next step uses the dd command below:

sudo dd bs = 4M if = Downloads / ubuntu-19.04-desktop-amd64.iso of = / dev / sdb conv = fdatasync

how to burn or burn iso files to usb on linux 12

In the above command:

Sudo: You must have superuser rights to run the dd commands and will be asked to enter the password to run the commands.

dd: name of the command we use.

bs = 4M: The -bs (blocksize) option determines the size of each information read from the input file and written to the output device. Choose the 4 MB option because this option is an exact multiple of 4 KB, which is the blocksize of the ext4 file system. This results in faster read and write speeds.

if = Downloads / ubuntu-19.04-desktop-amd64.iso: -if option (input file) requires path and name of file Linux ISO image which you are using as input file.

of = / dev / sdb: -of (output file) is an important parameter. This parameter must be provided with the USB drive identifier. This is the value we specified with the lsblk command earlier. In this tutorial, the USB drive identifier is sdb, so Taimienphi.vn uses of = / dev / sdb. Your USB drive may use a different identifier, so make sure you provide the correct one.

conv = fdatasync: The conv parameter specifies how the dd command converts the input file when the file is written to the output device. The dd command uses the drive’s kernel cache when writing to the USB drive. The fdatasync modifier ensures that the write cache will be properly erased and erased before the bootable USB drive creation process is completed.

Note that the dd command does not display any message during the process of creating a bootable USB drive.

After the bootable USB drive is created, the dd command will report the amount of data written to the USB drive. If you want, you can check whether the USB Bootable drive is working properly by starting the computer from there, or you can try booting on another computer.

https://thuthuat.taimienphi.vn/huong-dan-tao-burn-hoac-ghi-file-iso-vao-o-usb-tren-linux-47686n.aspx
So, the article above Taimienphi.vn just showed you how to create, burn or burn ISO files to a USB drive on Linux or how to create a USB to install Windows. Also readers can refer to some articles already on Taimienphi.vn to learn how to create USB Boot Windows 10, 8, 7 offline.

.

Add a Comment

Your email address will not be published. Required fields are marked *