Hardware

How to format a usb memory from linux

Table of contents:

Anonim

Knowing how to format a USB memory from Linux, is perhaps an elementary task that many already know. Therefore, this post will be much more useful to all new users. I will leave you here two methods to carry it out, each with its steps to follow. Let's start!

2. Select and a list of connected devices will appear.

3. We select the USB memory that we want to format. At the top right is a menu of options, we display and select "format disk…"

4. In the delete options that we have to choose from, if we select “Quick format”, the data on the unit will not be deleted. On the other hand, if we select "Slow Format", all the data on the drive will be erased as well as it will perform a diagnosis of the disk in search of errors

5. In the case of partitioning options, if we want it to be compatible with all operating systems, we leave the option “Compatible with all systems and devices (MBR / DOS)” selected.

6. Press "Format…" and confirm the procedure in the next window, by clicking "Format".

Method 2: Format a USB Flash Drive from the Linux Terminal

Before formatting a USB memory from the Linux terminal, it is important to make sure that you have installed the dosfstools package on the system. To do this we execute the following in the console:

sudo aptitude install dosfstools

Following this, we must identify where our USB memory is.

For them, we use the following command:

sudo fdisk -l

After this, we already know what the device identifier is to proceed to format it.

And it's as simple as using the command:

sudo mkfs.vfat -F 32 -n Yerita_USB / dev / sdc1

Where / dev / sdc1 corresponds to the device identifier. The -F 32 parameter indicates that it is formatted as Fat32 and the -n parameter is to indicate the name that I want to give the device.

Either method is extremely simple, it will be up to you which one you want to use.

Remember to take a look at our Tutorials section, where every day you can find very useful information so that you can get the most out of Linux.

Hardware

Editor's choice

Back to top button