HomeinetCreate bootable USB from .iso with terminal

Creating bootable USB from .iso with terminal

Creating bootable USB from ISO on Linux systems can be a headache, especially for new users of the platform. Although there are applications with a graphical interface (preferred by those accustomed to Windows environments), there are some images that will present you with problems.USB drive

For example, the Ubuntu Start Up Disk Creator application, although it allows you to create bootable USB from .iso, does not accept ISO files from distributions other than Ubuntu. Next example, openSUSE. Trying to create bootable USB from .iso using the Ubuntu Disks application will probably disappoint you. With the Unetbootin application, although the chances of success are higher (for openSUSE and other operating systems), there are times when it will not meet your expectations.

For the above reasons we will show how you can create a bootable USB from .iso using the terminal of your operating system,

You will need the .iso image, the terminal, a USB, and some commands.

Download the operating system you are interested in (no, you don't have to download whatever you find in front of you):

oh

Insert the USB into the port and let's find it in the terminal:

Open a terminal and type

sudo fdisk -l

The command will list your disks. We run the command to avoid formatting the wrong disk and to generally run..bootable USB disks

The (USB) disk we are looking for is sdb as you can see from the size (14.4 GB).

With the following command we will format it to FAT32

sudo mkfs.vfat -I /dev/sdb

format

Once the data is deleted from the USB, we can proceed with burning the iso to create a working bootable USB.

Open the folder containing the iso you are interested in. Right-click and select “Open in Terminal”.

When your terminal opens, type the following command:

sudo dd if=elementaryos-0.3.2-stable-amd64.20151209.iso of=/dev/sdb

In our case we chose to create a bootable USB with the elementaryOS .iso file. You can change the name of the file to the ISO you want. You should also change the letters or the letter of sdb depending on where your disk is located, i.e. your USB.

An important detail that you should pay attention to is the write point of the ISO. From the beginning although at the end of the second image it is clear that the sdb with what it contains is mounted on sdb1 we deleted all the partitions and gave the command to pass the ISO to the sdb without the 1.

After the command, sit back and wait. It will take a while, depending on the size of the ISO. When the recording is finished, the terminal will give you the necessary information:

usb done

📧
Subscribe to the SecNews Newsletter

The most important Security & Technology news in your Inbox.

SecNews
SecNewshttps://www.secnews.gr
In a world without fences and walls, who needs Gates and Windows

SEARCH

FOLLOW US

📧
Newsletter SecNews
The most important Security & Technology news in your inbox.

LIVE NEWS